OPEN-SOURCE SCRIPT

MACD Divergences

Updated
Update of MACD indicator which shows the most recent, and developing, price action divergences with the histogram.
Release Notes
Updated chart image
Release Notes
Updated to now include all past divergences, and fix bug which stopped indicator updating.
Release Notes
Updated to include MACD variable inputs, and show MACD plot and MACD signal plot.
Release Notes
Improved label positions
Release Notes
Added alerts and tidied script
Release Notes
Bug fix (hopefully): Stopped lines drawing onto each increasing histogram bar of current island.
DivergencedivergencesMoving Average Convergence / Divergence (MACD)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer