OPEN-SOURCE SCRIPT
Updated

MacD Convergence/Divergence

2 746
I made this script to get a line (or histogram) of the macd and the signal (macd + signal), the principle remains the same as with a standard macd. You can notice that the divergences are present, and that the interpretation does not change, personally, I use ema band, which helps me to confirm the tendencies and to detect divergences!
Release Notes
Update from version 3 to 11, the others were only tests
Addition: 4 distinct colors when the indicator passes above or below line 0

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.