mgibson91

MG - MACD - Divergence - 1.0

The MACD indicator can produce some powerful divergence signals which can be useful confirmation for entering / exiting a trade.

This indicator generates and alert and plots (if enabled), when a divergence is detected. For example, if bullish (above zero) and two bearish MACD crosses are detected with the second being lower than the first, a bearish divergence alert is triggered. Theoretically a good place to take profit / possibly enter a short position if you have further confirmation.

Can also be configured to include continuation signals i.e. a bullish trend with two bullish MACD crosses where the second is higher than the first. This could indicate more bullish action ahead.


In order to illustrate how this indicator helps to sift out a good amount of false signals, I have highlighted in the above image in dark green, all of the divergence buy signals highlighted by the indicator and in light green, the rest of the MACD buy signals.

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

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.

Quer usar esse script no gráfico?