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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.