这指标是我好多年以前编的了,看大盘周线,长线抄底比较准
想换其它周期或换个股,,得自己调整参数提高准确度
{参数N 2 1000 180}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
底:IF(CCI<-200,CCI,DRAWNULL),COLORRED,LINETHICK2;
{DRAWTEXT(CCI<-200,-180,'底'),COLORRED;}
STICKLINE(CCI<-150,-150,CCI,5,0),COLOR33CCFF;
STICKLINE(CCI<-200,-200,CCI,5,0),COLORRED;
201910288321878925.png
|