PROTECTED SOURCE SCRIPT
Updated RSI Divergences - Candle Edition - Libertus

Hello all,
This is just upgrade upon my already released RSI divergences script. Divergences detection is exactly same, no difference.
I'm releasing this version because I got few requests for divergences indicator above price bars, so it doesn't take additional screen space.
New in this version is:
Happy trading and good luck!
As always, I appreciate comments and likes!
If you find this useful and want to reward me:
BTC TIP JAR: 1i7nojAjxFuyFwvnZx6hbXBTLkWaUjZ8C
RSI Divergences with RSI in separate window:
https://www.tradingview.com/x/KPmAXtCO/
This is just upgrade upon my already released RSI divergences script. Divergences detection is exactly same, no difference.
I'm releasing this version because I got few requests for divergences indicator above price bars, so it doesn't take additional screen space.
New in this version is:
- ability to remove pivots
- ability to display smaller/shorter labels
- predefined look back period for different time frames
Happy trading and good luck!
As always, I appreciate comments and likes!
If you find this useful and want to reward me:
BTC TIP JAR: 1i7nojAjxFuyFwvnZx6hbXBTLkWaUjZ8C
RSI Divergences with RSI in separate window:
https://www.tradingview.com/x/KPmAXtCO/
Release Notes
Whats new:- adapted script to new pine language version (v4)
- removed 8 n/a value that were cluttering indicator interface next to RSI value (only possible with v4 pine language)
- added option to have colored indicator background instead of BULL/BEAR labels (check this out!)
Here you can find my original divergences indicator as seperate RSI script:

If you need OBV divergences script check out my other script:

Release Notes
Per popular demand, added alerts to pivot high and low.Some code cosmetics.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – 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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – 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.