通达信快买快卖CCI指标公式

通达信顶底神器主图指标公式

通达信快买快卖CCI指标公式:

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;

通达信股彩黎明主图指标公式