OPEN-SOURCE SCRIPT

RSI - MTF - Non Repaint

Updated
Using rsi with security function directly will cause repaint. Hence, doing it based on close price and calculating rsi via formula to avoid that. Hope this solves repainting issue.

Thanks to Jittra for requesting this :)
Release Notes
Added option to directly use rsi passed to security method to demonstrate how they differ.
Release Notes
Make use security true by default as calculations are not yielding correct results
nonrepaintingindicatorRelative Strength Index (RSI)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer