← Learn
IndicatorsBeginner

What Is MACD? Moving Average Convergence Divergence Explained

In short

MACD is a momentum indicator that measures the distance between two exponential moving averages. When the MACD line crosses above its signal line, traders read that as bullish momentum building; a cross below reads as bearish — but because MACD is built from past prices, its signals always arrive after the move has already started.

What MACD measures

MACD tells you how two exponential moving averages (EMAs) are moving relative to each other. When a short-term average pulls away from a longer-term average, momentum is building. When they converge, momentum is fading. The indicator makes that relationship visual and easier to act on.

The three parts of MACD

The MACD line

The MACD line is the core calculation: subtract the 26-period EMA from the 12-period EMA.

MACD line = 12 EMA − 26 EMA

When price is trending up, the faster 12 EMA rises above the slower 26 EMA and the MACD line goes positive. When price falls, it goes negative. The further the MACD line sits from zero, the stronger the momentum in that direction.

The signal line

The signal line is a 9-period EMA applied to the MACD line itself — a smoothed version of MACD. It reacts more slowly than the MACD line, which is what makes crossovers meaningful: when the MACD line cuts above the signal line, short-term momentum has overtaken the recent average of that momentum.

The histogram

The histogram plots the gap between the MACD line and the signal line bar by bar. Growing bars mean the two lines are separating — momentum is accelerating. Shrinking bars mean they are converging — momentum is fading. Many traders watch the histogram for early signs of a trend shift before the actual crossover occurs.

Bullish and bearish crossovers

A bullish crossover happens when the MACD line crosses above the signal line. A bearish crossover happens when it crosses below. These are the most commonly traded signals.

The zero line adds another layer. When a bullish crossover happens above zero, both moving averages are above the baseline — a stronger sign of upside momentum. A crossover below zero means price is still in negative momentum territory, which makes the signal less reliable.

MACD divergence

Divergence is where MACD gets more interesting than a simple crossover.

Bullish divergence: Price makes a lower low but MACD makes a higher low. Selling pressure is weakening even as price keeps falling. This can precede a reversal.

Bearish divergence: Price makes a higher high but MACD makes a lower high. Buying pressure is weakening even as price climbs. This can precede a pullback.

Divergence does not guarantee a reversal — it signals that momentum is no longer confirming the trend, which raises the probability of a change in direction.

The number one beginner trap: lag in choppy markets

MACD is built entirely from past prices. Every EMA is an average of what already happened. That means MACD is a lagging indicator — by the time a crossover fires, a portion of the move you are trying to catch is already over.

In a strong trend, this lag is acceptable. You give up the first part of the move but ride the middle.

In a ranging market, the lag becomes a problem. Here is a concrete example:

BTC is oscillating between $60,000 and $62,000 for five days. The 12 EMA and 26 EMA are nearly flat. On day three, price briefly spikes to $62,500. The MACD line crosses above the signal line. You buy. Price immediately retreats to $61,000 as the spike reverses. MACD crosses back below the signal line two days later. You exit at a loss. The market was never trending — it was ranging, and MACD fired a false signal in both directions.

This pattern is called a whipsaw. It is the dominant failure mode for MACD users. The fix is not a different MACD setting — it is knowing when to use the indicator. MACD is more reliable when you can confirm the market is in a trend before trusting crossovers.

How systematic traders use MACD

Systematic and algorithmic traders generally treat MACD as one input among many rather than a standalone entry trigger. The key difference from manual trading is that systematic approaches can define explicit rules about when lagging trend signals are trusted and when they are suppressed.

In ranging or choppy regimes, a trend-following signal like a MACD crossover generates more false positives. A systematic approach might reduce position size or skip trades entirely when volatility is compressed and no clear trend is present, reserving full conviction for strong directional environments.

Darwin Lab's trading bot classifies market conditions into distinct regimes — strong bull, weak bull, range, weak bear, strong bear, and crash — and adjusts how signals are weighted based on context. Every trade is placed on real Binance Futures and posted publicly, so the performance record reflects actual market conditions rather than backtested assumptions.

Understanding how regime context affects trend indicators like MACD is a useful frame whether you trade manually or systematically. A crossover in a strong trend and a crossover in a range look identical on a chart. The difference is in the surrounding context.

How Darwin Lab worksRSI explained

Frequently asked questions

What does MACD stand for?

MACD stands for Moving Average Convergence Divergence. It was developed by Gerald Appel in the late 1970s and remains one of the most widely used momentum indicators in technical analysis.

What is the standard MACD setting?

The default setting is 12, 26, 9 — a 12-period EMA minus a 26-period EMA for the MACD line, with a 9-period EMA of the MACD line as the signal. Most charting platforms use these defaults.

What is MACD divergence?

MACD divergence happens when price makes a new high (or low) but MACD does not confirm it. Bullish divergence — price makes a lower low while MACD makes a higher low — can signal that selling momentum is fading. Bearish divergence is the opposite.

Is MACD good for crypto trading?

MACD can be useful for spotting trend direction in crypto, but its lag is amplified in fast-moving or sideways markets. Crossovers in ranging conditions produce frequent false signals. Combining MACD with a volatility filter or regime context improves reliability.

What is the difference between MACD and RSI?

MACD measures momentum by comparing two moving averages, making it trend-focused. RSI measures the speed of recent price changes on a 0-100 scale to identify overbought and oversold conditions. They answer different questions and are often used together.

Where we trade

Signals execute on Binance Futures. These are the venues that match.

Affiliate disclosure: some links are referral links — Darwin Lab may earn a commission at no extra cost to you, and you often get a fee rebate. We only list what we use. Not financial advice.

Educational only — not financial advice. Trading futures involves substantial risk of loss. Past performance is not indicative of future results. Full disclaimer →

← Back to Learn