javageek

Double MACD With Crossover Alert

Double MACD With Crossover Alert

Double MACD with Crossover Alert is based on 2 MACD Histograms with different length settings on top of each other. The first MACD histogram is plotted as a line while the second MACD is plotted as columns. The default MA type for MACD1 is ZEMA or Zero Lag Moving Average.

What is MACD?
Moving average convergence/divergence (MACD) is a technical indicator to help investors identify price trends, measure trend momentum, and identify market entry points for buying or selling. Moving average convergence/divergence (MACD) is a trend-following momentum indicator that shows the relationship between two exponential moving averages (EMAs) of a security’s price. MACD was developed in the 1970s by Gerald Appel.

What is Zero Lag?
Zero lag is a technical analysis tool that aims to reduce or eliminate lag in trend-following indicators that average price over time. Zero lag indicators are designed to provide signals with little or no delay, allowing traders to enter and exit trades quickly and potentially profit from small price movements. Zero-Lag Exponential Moving Average (ZEMA), uses a double-smoothing process to provide a smoother and more responsive moving average. ZEMA can help traders identify trends more quickly, adapt to changing market conditions, and make more informed decisions.

How To Use?
  • When the MACD1 crosses above the zero line and the MACD2 histogram color is dark green (up trend), then a buy alert (blue triangle) is plotted.
  • When the MACD1 crosses below the zero line and the MACD2 histogram color is dark red (down trend), then a sell alert (yellow triangle) is plotted.

All the MACD1 and MACD2 lengths are configurable. This indicator can be combined with other technical indicators to verify the idea behind this theory.

-----------------
Disclaimer

The information contained in this indicator does not constitute any financial advice or a solicitation to buy or sell any securities of any type. My scripts/indicators/ideas are for everyone to use and verify with other technical indicators.


Script open-source

Dans le véritable esprit de 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 le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?