This indicator was developped by Tushard Chande & Stanley Kroll.
The formula is simple. Someone asked me to make an indicator for ProRealTime.
This indicator is limited from values 0 to 1.
You can simply change the colors and add 2 horizontal lines with value 0.2 (oversold) and 0.8 (overbought).
RSI14 = RSI[14](close)
MinRSI = lowest[14](RSI[14](low))
MaxRSI = highest[14](RSI[14](high))
StochRSI = (RSI14-MinRSI) / (MaxRSI-MinRSI)
IF StochRSI < 0 THEN
StochRSI = 0
ENDIF
IF StochRSI > 1 THEN
StochRSI = 1
ENDIF
return StochRSI as "Stoch RSI"