VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=MA(VAR2,7);
VAR4:=STD(VAR2,7);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(MA(VAR5,5)-25)*1.56;
K:= MA(VAR6,2)*1.22,LINETHICK1;
D: MA(K,2),COLORFFFF00,LINETHICK1;
J: 3*K-2*D,COLORRED,LINETHICK2;
DRAWBAND(J,500,0,RGB(0,90,45));
DRAWBAND(D,50,0,RGB(0,90,45));