通达信快买快卖CCI指标公式
2021/3/9 19:13:01
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
XF:IF(CCI>=100,CCI,100),COLORRED,LINETHICK2;
XA:IF(CCI<=-100,CCI,-100),COLORGREEN,LINETHICK2;
快卖: IF(PEAKBARS(3,15,1)=1,100,0),COLORRED,LINETHICK5;{有未来只做参考}
快买: IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,-120,0),COLORYELLOW,LINETHICK5;{有未来只做参考}
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;
投股票 网 ww w.tou18.cn
股市公式下载推荐