TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CI:(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60)),ColorFFFFFF,linethick1;
C2:MA(CI,5), Color00FFFF,linethick1;
C3:MA(CI,15,), colorgreen,linethick1;
C4:MA(CI,30), colorblue,linethick1;
FILLRGN(CI,C2,CI>C2,RGB(0,255,0,),CI<C2,colorblack);
FILLRGN(C2,C3,C2>C3,RGB(255,0,0,),C2<C3,colorblack);
FILLRGN(C3,C4,C3>C4,RGB(0,0,255,),C3<C4,colorblack);