RSI with plot lines

This is my first script it's pretty simple, the plots are as follows:

80 = Sell
70 = Pending sell
50 = Pullback / Retest
30 = Pending buy
20 = Buy

I would add the text to the plot lines but not sure how, if anyone has away. Please comment and I'll update.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?