DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK2;
DEA:EMA(DIFF,9),LINETHICK2,colorblue;
F60:=(EMA(CLOSE,12/2)-EMA(CLOSE,26/2));
A60:=EMA(F60,9/2);
DRAWBAND(F60,RGB(0,224,224),A60,RGB(255,96,96));
F30:=((EMA(CLOSE,12/4)-EMA(CLOSE,26/4)));
A30:=(EMA(F30,9/4));
DRAWBAND(F30,RGB(0,224,224),A30,RGB(255,96,96));
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
P:=9;
快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
慢线:=SMA(快线,M1,1);
AA:=IF(BArslAST(crOSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);
DRAWICON(AA>0 ,0.05,2);{ 公式源码 }
DRAWTEXT(AA>0,0.80,'顶'),colorred;
三跳空高开:=COUNT(O>REF(C,1) AND NOT(H=L),3)=3 AND COUNT(C/REF(C,1)>1,3)=3 AND HHV(H,3)/LLV(L,3)>1.2;
DRAWTEXT(三跳空高开,0.80,'抛'),colorred;
DRAWICON((F30>A30) AND (F60>A60) ,0.05,1)