DIF:EMA(CLOSE,9)-EMA(CLOSE,150),NODRAW;
ABC:EMA(DIF,12),NODRAW;
VAR1:2*(DIF-ABC),COLORSTICK;
DIK:4*DIF-3*ABC,COLORYELLOW;
ABC6:=EMA(DIK,1),COLORGREEN;
IF(C>ABC6,ABC6,DRAWNULL),COLORRED,LINETHICK3;
IF(ABC6<=REF(ABC6,1),ABC6,DRAWNULL),COLORGREEN,LINETHICK3;
启动点:=VAR1< 0 AND VAR1>REF(VAR1 ,1) AND REF(VAR1 ,1)< REF(VAR1 ,2) AND REF(VAR1 ,2)< REF(VAR1 ,3) AND REF(VAR1 ,3)< REF(VAR1 ,4);
ABC_16:=IF(CLOSE>REF(CLOSE,1),88,0);
ABC_17:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE< 1.01 AND ABC_16>0,91,0);
龙头启动:=FILTER(ABC_17>90,45)=1,COLORMAGENTA NODRAW;
STICKLINE(龙头启动,6,VAR1,2,0),COLORMAGENTA;
STICKLINE(龙头启动,6,VAR1,0.1,0),COLORRED;
分界线:0,COLORFF00FF;
STICKLINE(VAR1>REF(VAR1,1) AND VAR1>0,0,2,1.8,0),COLOR000055;
STICKLINE(VAR1>REF(VAR1,1) AND VAR1>0,0,2,1.1,0),COLOR000099;
STICKLINE(VAR1>REF(VAR1,1) AND VAR1>0,0,2,0.6,0),COLOR0000BB;
STICKLINE(VAR1<=REF(VAR1,1) AND VAR1>0,0,2,1.8,1),COLOR40FF00;
STICKLINE(VAR1<=REF(VAR1,1) AND VAR1>0,0,2,1.1,1),COLOR40FF00;
STICKLINE(VAR1<=REF(VAR1,1) AND VAR1>0,0,2,0.6,1),COLOR40FF00;
STICKLINE(VAR1>REF(VAR1,1) AND VAR1< 0,0,VAR1,1.8,0),COLOR000055;
STICKLINE(VAR1>REF(VAR1,1) AND VAR1< 0,0,VAR1,1.1,0),COLOR000099;
STICKLINE(VAR1>REF(VAR1,1) AND VAR1< 0,0,VAR1,0.6,0),COLOR0000BB;
STICKLINE(VAR1<=REF(VAR1,1) AND VAR1< 0,0,VAR1,1.8,0),COLORBLUE;
STICKLINE(VAR1<=REF(VAR1,1) AND VAR1< 0,0,VAR1,1.1,0),COLORBLUE;
STICKLINE(VAR1<=REF(VAR1,1) AND VAR1< 0,0,VAR1,0.6,0),COLORBLUE;
DRAWICON(龙头启动,6,9);
DRAWTEXT(龙头启动,5.6,'★游资启动')COLORYELLOW LINETHICK6;