通达信秒杀CCI副图公式源码

快卖: IF(PEAKBARS(3,15,1)=1,100,0),COLORWHITE;{有未来只做参考}
快买: IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,-120,0),COLORYELLOW;{有未来只做参考}
TYP:=(HIGH+LOW+CLOSE)/3;{www.buyhaogu.com}
秒杀CCI:EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2.0332),COLORWHITE;
STICKLINE(秒杀CCI<-150,秒杀CCI,-150,10,0),COLOR0000BB;
STICKLINE(C>0,-150,-151,6,0),COLORBLUE;
STICKLINE(秒杀CCI>150,秒杀CCI,150,10,0),COLOR0000BB;
STICKLINE(C>0,150,151,6,0),COLORBLUE;

(0)

相关推荐