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;