N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
cci:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
大底:-200,COLORRED;
中底:-100,COLORYELLOW;
STICKLINE(crOSS(CCI,大底),大底,0,1,0),COLORRED;
STICKLINE(CROSS(CCI,中底),大底,中底,1,0),COLORYELLOW;
{
选股公式:
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
大底:=-200;
中底:=-100;
XG:(CROSS(CCI,中底));
}