RN:=14;
WN:=14;
M:=RN;N:=WN;
LC := REF(CLOSE,1);
rsi:SMA(MAX(CLOSE-LC,0),M,1)/SMA(Abs(CLOSE-LC),M,1)*100,colorred,LINETHICK1;
wr:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),coloryellow,LINETHICK1;
RN:=14;
WN:=14;
M:=RN;N:=WN;
LC := REF(CLOSE,1);
rsi:SMA(MAX(CLOSE-LC,0),M,1)/SMA(Abs(CLOSE-LC),M,1)*100,colorred,LINETHICK1;
wr:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),coloryellow,LINETHICK1;