OPEN-SOURCE SCRIPT
Updated Relative Strength Index - Divergences, Stoch, Reverse Stoch

This is aggregation of RSI indicators - RSI, Divergences, Reverse & Stochastic RSI
Thanks to ©JayTradingCharts and ©mohanee for the RSI Divergences code
Thanks to BApig - Motgench, balipour and Wugamlo for the reverse stoch code
Changes:
1. Add option to calc divs based on close or wicks or both (RSI is close based)
2. Add pivots (marking local high/low)
3. Update to Pine v5
4. Cleanup of unused code
Thanks to ©JayTradingCharts and ©mohanee for the RSI Divergences code
Thanks to BApig - Motgench, balipour and Wugamlo for the reverse stoch code
Changes:
1. Add option to calc divs based on close or wicks or both (RSI is close based)
2. Add pivots (marking local high/low)
3. Update to Pine v5
4. Cleanup of unused code
Release Notes
change default left/right barsRelease Notes
update chartRelease Notes
tweak default paramsOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.