暴涨龙头(抄底的好指标公式,副图指标公式)[大智慧公式]
[code]{暴张龙头 N 5 1 100}
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;CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
[/code]
页:
[1]