This indicator fixes RSI's bullish bias. This asymmetrical bias is illustrated in the chart below (the lower indicator pair).
This chart also shows that TRSI solves this issues (upper indicator pair). So, time to throw away your RSI. It has been fooling you all along.
FYI, this asymmetry is obvious in longer term charts (wide price ranges).
I kept this script simple for use as a reference. I will update my candle RSI indicator to implement this fix in addition to some other advanced features. So stay tuned :)
PS: I included an option to display standard RSI as well for verifying the RSI equation I used. What you see in textbooks is a twisted version of the same equation.