n:=6;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.030*AVEDEV(TYP,N)),COLORRED,LINETHICK2;
MACCI:MA(CCI,5),COLORFF00FF,LINETHICK1;
0,COLORFFFFFF,LINETHICK2;
乖离率:(CLOSE-MA(CLOSE,8))/MA(CLOSE,8)*1000,COLORGREEN,LINETHICK2;
乖离率MA:MA(乖离率,3),COLORFFFFFF,LINETHICK1;