N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
cci:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
STICKLINE(CCI<-200,CCI,-200,2,0),COLORRED;
-200,DOTLINE;
XG:crOSS(CCI,-200),NODRAW,COLORRED;
N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
cci:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
STICKLINE(CCI<-200,CCI,-200,2,0),COLORRED;
-200,DOTLINE;
XG:crOSS(CCI,-200),NODRAW,COLORRED;