OPEN-SOURCE SCRIPT

MACD Crossover Trend Indicator

This is a very simple "the trend is your friend" indicator - if you are consistent!

How this indicator works:
This indicator detects MACD Crossovers based on the current trend. It checks wether the current close price is above or below the 200 EMA and therefore decides whether we are in an up- or down trend.

UP-TREND: If the price is above the EMA200, the MACD is below 0 and crosses up the signal line, then this is a BUY signal!

DOWN-TREND: If the price is below the EMA200, MACD is above 0 and crosses down the signal line, then this is a SELL signal!

You can also add an alert, that keeps you informed, once one of these scenario happens for a certain pair!

With this indicator you will never enter against the trend.

Have fun! :)
crossovercrossovertradingExponential Moving Average (EMA)Moving Average Convergence / Divergence (MACD)macdcrossoverthetrendisyourfriend

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité