OPEN-SOURCE SCRIPT

MACD Divergence [ALERTSETUP]

18627
A request I thought would be useful to code.

Very simple script that allows to create alerts on MACD divergences, based on wanliyu script.

I also removed the security function to avoid repainting.

Red background is bearish divergence and green background is bullish divergence.

Enjoy !

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.