OPEN-SOURCE SCRIPT

MACD with highlighted positive and negative trend

4442
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.

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.