TYP:=(HIGH+LOW+CLOSE)/3;A:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));:IF(A>=200,200,IF(A<=-200,-200,A)),COLORFF00FF,LINETHICK2;200,COLOR00FF00, POINTDOT;0,COLOR00FF00, POINTDOT;-200,COLOR00FF00, POINTDOT;{DRAWICON(CCI<=-200,-150,1);DRAWICON(CCI>=200,150,2); }