N=5
ZF:=(C/REF(C,1)-1)*100;
ST:=ABS(C/O-1)*100;
ZF3:SUM(ZF,3),COLORFFFFFF,POINTDOT,LINETHICK0;
领涨:IF(ZF>=N AND ST>=4,8,0),COLOR0000FF,POINTDOT,LINETHICK0;
暴涨:IF(SUM(ZF,3)>=18 OR SUM(ZF,4)>=18,18,0),COLORFF00FF,LINETHICK2;
领跌:IF(ZF<=0-N AND ST>=4,-8,0),COLORFFFF00,POINTDOT,LINETHICK0;
暴跌:IF(SUM(ZF,3)<=-18 OR SUM(ZF,4)<=-18,-18,0),COLOR00FF00,LINETHICK2;
STICKLINE(领涨,0,8,4,0),COLOR0000FF;
STICKLINE(领跌,0,-8,4,0),COLORFFFF00;
202108211311.png
|