N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
上涨区:100,COLORFF00FF,POINTDOT;
盘整区:CCI,COLORBLUE;
探底区:-100,COLORGREEN,POINTDOT;
{股旁网-股票公式网站 www.gupang.com}
PARTLINE(cci,cci>100,RGB(255,0,0),cci<-100,RGB(0,255,0));
202108211306.jpg
|