MACD

Also known as: Moving Average Convergence Divergence, Moving Average Convergence Divergence (MACD), MACD Indicator, MACD Histogram, MACD (Moving Average Convergence Divergence)

The MACD (Moving Average Convergence Divergence) tracks the relationship between two exponential moving averages — typically the 12 and 26 period — together with a 9-period signal line and a histogram of their difference. It is one of the most used momentum and trend-confirmation tools in technical analysis.

This hub gathers every MACD-based strategy decoded on Strategy Decoder. Each entry links to the complete rule set: how the strategy uses signal-line crossovers, zero-line crosses, histogram expansion or divergence, plus stops, targets and the ready-to-use Pine Script for TradingView.

Typical MACD setups in this collection: signal-line crossovers filtered by a higher-timeframe trend, histogram momentum fades, and MACD divergence at support and resistance.

Frequently asked questions

What is the primary function of the MACD indicator?

The MACD serves as a dual-purpose tool that identifies price trends while simultaneously measuring momentum. By calculating the difference between a fast and slow exponential moving average, it reveals whether market participants are gaining or losing conviction. It helps traders distinguish between a minor correction and a major trend reversal through line crossovers and histogram fluctuations, providing a clearer picture of market dynamics than simple moving averages alone.

How do you interpret a MACD crossover signal?

A bullish signal typically occurs when the MACD line crosses above the signal line, indicating that upward momentum is building. Conversely, a bearish signal is generated when the MACD line drops below the signal line. These crossovers are most significant when they occur far above or below the zero baseline. However, traders should look for confirmation from price action or other indicators to ensure the crossover isn't a temporary fluctuation in a consolidating market.

What are the common limitations of using the MACD?

Because the MACD is based on historical price data, it is inherently a lagging indicator, meaning signals may appear after a move has already begun. Its biggest weakness is 'whipsawing' during market consolidation, where the lines cross frequently without any clear directional progress. To improve accuracy, it is best used on higher timeframes such as the daily or 4-hour charts and should be combined with support and resistance levels to filter out noisy signals.

Strategies using this indicator (50)