Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*10000;
K:SMA(Var1,3,1),colorred,linethick1;
D:SMA(K,3,1),colorliblue,linethick1;
R:=((ZDMR+BDMR))/100;
A:=EMA(R,10);
T:=EMA(A,5);
W:=(A-T);
STICKLINE(W>0,W,0,8,0), Color6B238E,,linethick1;
STICKLINE(W<0,W,0,8,0),coloryellow ,linethick1;