N:=9;M1:=3;M2:=3;M3:=3;
Var1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
Var2:=REVERSE(Var1);
Var3:=SMA(Var1,M1,1);
K: SMA(Var3,M2,1);
D: SMA(K,M3,1);
Var4:=SMA(Var2,M1,1);
W: SMA(Var4,M2,1);
R: SMA(W,M3,1);
YY: 0;
HH: 80;
DD: -80;
BB: 20;
-20;