OPEN-SOURCE SCRIPT

MACD Divergence with alerts

83
I got chat gpt to make the default MACD indicator visualy show when a divergence occurs on the chart. And you can have alerts when this happens.

The way it works is it just checks to see if the high/low (green candle followed by red candle) histogram is higher or lower then current price histogram.

Although not 100 percent accurate. I've been using without any problems for awhile and thought i should share it.

Have fun...

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.