N:=20;
T:=10;
A:(C-LLV(L,10))/(HHV(H,25)-LLV(L,10)),COLORRED,;
操盘:MA(A,3),COLORGREEN;
底部:A<=0.025,COLORWHITE,NODRAW;
买底:REF(A<=0.025,1)AND A>REF(A,1),COLORRED,NODRAW;
跟进:crOSS(A,操盘)AND REF(COUNT(CROSS(A,操盘),3)=1,0)AND REF(A<0.3,1)OR CROSS(A,0.1),COLORYELLOW,NODRAW;
启动:CROSS(A,0.29)COLORLIMAGENTA,NODRAW;
阴线买:CROSS(0.1,操盘),COLORCYAN,NODRAW;
追涨:BETWEEN(操盘,0.8,0.38)AND CROSS(A,操盘),COLORYELLOW,NODRAW;
STICKLINE(底部=1,0,0.05,0.1,0),COLORWHITE;
STICKLINE(买底=1,0,0.05,0.1,0),COLORRED;
STICKLINE(跟进=1,操盘,操盘+0.05,0.1,0),COLORYELLOW;
STICKLINE(启动=1,0.3,0.35,0.1,0),COLORLIMAGENTA;
B:=CROSS(操盘,A)AND REF(COUNT(CROSS(操盘,A),3)=1,1)AND A>0.3;
DRAWICON(REF(A>0.8,1)AND CROSS(REF(A,1),A)OR B=1,操盘,2);
STICKLINE(阴线买,0.1,0.5,0,-1),COLORCYAN;
STICKLINE(CROSS(操盘,0.09),0.2,0,0,-1),COLORLIMAGENTA;
DRAWTEXT(启动=1,0.35,'启'),COLORLIMAGENTA;
STICKLINE(追涨,0.5,0.75,0,0),COLORYELLOW;
0.3,DOTLINE,COLORGRAY;
0.1,DOTLINE,COLORLICYAN;
0.2,COLORGREEN,DOTLINE;
顶:0.95,COLORBROWN;
高位:0.75,COLOR880088,DOTLINE;
分界:0.5,COLORGRAY,DOTLINE;