N:=21;
P:=42;
M:=21;
wr1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
WR2:100*(HHV(HIGH,P)-CLOSE)/(HHV(HIGH,P)-LLV(LOW,P));
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M,1);
D:=SMA(K,M,1);
J:3*K-2*D;0;
F:90;
H:10;
Q:50;
N:=21;
P:=42;
M:=21;
wr1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
WR2:100*(HHV(HIGH,P)-CLOSE)/(HHV(HIGH,P)-LLV(LOW,P));
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M,1);
D:=SMA(K,M,1);
J:3*K-2*D;0;
F:90;
H:10;
Q:50;