OPEN-SOURCE SCRIPT

MACD with highlighted positive and negative trend

The values used by this indicator are equal to MACD 12 26 9 (and Signal). Only changes are made to looks:

If MACD closes higher than Signal, then we are seeing green. Else, we are seeing red.

Another point is that we get a blue circle when there is a trend change from bullish to bearish or vice versa. Please note that there needs to be an offset for this. We will only see the circle, when there already WAS (instead of is) a trend change.
averageconvergenceDivergenceMoving Average Convergence / Divergence (MACD)moving

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