(CCI趋势线)日趋势线变成红色时选股预警
2019/12/8 19:01:40
公式编写说明:
请老师把日趋势线变成红色时预警谢谢.TYP:=(HIGH+LOW+CLOSE)/3;天线出:128,COLORRED,LINETHICK1;日趋势线:(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,6)),COLORFFFFFF;BB日趋势线:=日趋势线-REF(日趋势线,1);零轴涨线:0, COLORC0C0C0,LINETHICK1;地线入:-128,COLORGREEN;DRAWICON(CROSS(CCI,128),128,0);DRAWICON(CROSS(128,CCI),128,0);DRAWICON( CROSS(CCI,-128),-128,0);DRAWICON( CROSS(-128,CCI),-128,0);IF(BB日趋势线>0,日趋势线,DRAWNULL),COLOR0000FF,LINETHICK2;DRAWTEXT(ISLASTBAR,-128,'-128'),COLORMAGENTA;DRAWTEXT(ISLASTBAR,0,'0'),COLORWHITE;DRAWTEXT(ISLASTBAR,128,'128'),COLORYELLOW;
公式源码回答:
TYP:=(HIGH+LOW+CLOSE)/3;
日趋势线:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,6));
BB日趋势线:=日趋势线-REF(日趋势线,1);
日趋势线-REF(日趋势线,1)>0 AND C>O;
投股 票网 www.tou18 .cn
股市公式下载推荐