OPEN-SOURCE SCRIPT
Updated

RSI - MTF - Non Repaint

16 381
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

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.