RSI Divergence Indicator (with alerts)

mohanee Updated   
Many have requested me for indicator version with alerts for the RSI Divergence strategy. Here is the one ...

Please note alert triggers in delay by number of bars defined in the settings. (same as strategy) ...
Bar color also changes when alert triggers ...

Yellow Bar shows BUY
Purple Bar shows EXIT ( Exit the Long position ... NO SHORTing )

On each Yellow Bar can be added to existing position
On each Purple Bar , exit partial position OR exit the whole position

Appreciate your feedback.

Use for education purpose only ...
Release Notes:
Bar color changed to Blue when it is in Long trade

Here is the color code...

Bar turns Yellow when it takes Long Position

Once in Long position , Bar color turns to Blue

Bar turns to Purple when price reaches profit level defined in settings OR when bear condition appears
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.


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.

Want to use this script on a chart?