OPEN-SOURCE SCRIPT

MACD Indicator BF

This is my MACD strategy but in indicator format so I can include alerts. The default settings are the same as in the strategy. The long and short conditions that the alerts are attached to are when the delta (usually illustrated as the histogram) crosses above or below the zero line respectively. There is one alert for long, one for short.
Moving 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