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.

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?