趋势线:MAX(MA(C,60),MA(C,120)),COLORWHITE;
DD:=(趋势线-L)/L;
BB:=(C-趋势线)/趋势线;
STICKLINE(DD>=0.3,OPEN,CLOSE,8,0),COLORGREEN;
STICKLINE(DD>=0.3,L,H,1,0),COLORGREEN;
DRAWICON(BB>=0.3,L,15);
M:=(C+O+L)/3;
操盘线:MA(M,5),COLORMAGENTA;
振幅:(H-L)/L,COLORGREEN,NODRAW;
STICKLINE(振幅*100>=8 AND C>O ,O,C,8,0),COLORRED;
STICKLINE(振幅*100>=8 AND C>O ,L,H,1,0),COLORRED;
STICKLINE(振幅*100>=8 AND C<O ,O,C,8,0),COLORGREEN;
STICKLINE(振幅*100>=8 AND C<O ,L,H,1,0),COLORGREEN;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,8,0),COLORMAGENTA;