速率线:MA(C,9),LINETHICK1,colorgreen;
红买:IF(速率线>REF(速率线,1),速率线,DRAWNULL),colorred,LINETHICK3;
绿不操作:IF(速率线<REF(速率线,1),速率线,DRAWNULL),colorgreen,LINETHICK2;
PL10:=ZIG(3,10);
走弱2:=BARSLAST(PL10>REF(PL10,1));
EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);
DRAWTEXT(EX1 AND DTJD5=1,H*1.17,'↑⊙头部'),colorgreen;