N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
cci:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),LINETHICK1;
CCI均线:EMA(CCI,14),LINETHICK1;
CCI84:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),COLORGREEN,LINETHICK1;
{ _通达信股票指标公式}
DRAWTEXT(crOSS(CCI,-100),CCI,'¡Á'),COLORRED;
CCI84STICK:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
CCI84COLORSTICK:CCI84STICK-100,COLORSTICK;