N:=180;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
底:IF(CCI<-200,CCI,DRAWNULL),COLORRED,LINETHICK2;
{DRAWTEXT(CCI<-200,-180,'底'),COLORRED;}
STICKLINE(CCI<-150,-150,CCI,5,0),COLOR33CCFF;
STICKLINE(CCI<-200,-200,CCI,5,0),COLORRED;