Trade Gold with Exness — Lower your gold trading costs
Technical Analysis

MACD Indicator Explained: Signal Line, Histogram and Crossovers

The MACD combines trend and momentum in one indicator. Learn what the MACD line, signal line and histogram show, how crossovers and divergence work, and why MACD signals need price confirmation.

The MACD — short for Moving Average Convergence Divergence — is one of the most popular indicators in trading. It was created by Gerald Appel in the late 1970s and is built entirely from moving averages, which makes it a hybrid: part trend indicator, part momentum indicator.

The Three Parts of the MACD

With the standard settings of 12, 26 and 9, the MACD shows:

  1. The MACD line: the 12-period EMA minus the 26-period EMA. When the faster average is above the slower one, the MACD line is positive.
  2. The signal line: a 9-period EMA of the MACD line itself — a smoothed version of it.
  3. The histogram: the difference between the MACD line and the signal line, drawn as bars above or below zero.

What Each Part Tells You

  • MACD above zero: the short-term average is above the long-term average — upward momentum.
  • MACD below zero: downward momentum.
  • Histogram growing: momentum is accelerating in that direction.
  • Histogram shrinking: momentum is slowing, even if the trend hasn't turned yet.

The histogram is often the earliest warning: it starts to shrink before the lines cross.

MACD Signals

1. Signal Line Crossovers

  • Bullish: the MACD line crosses above the signal line.
  • Bearish: the MACD line crosses below the signal line.

These are the most common signals — and the noisiest. In a sideways market, the lines cross back and forth constantly.

2. Zero Line Crossovers

  • MACD crossing above zero confirms that the short-term trend has turned up.
  • Crossing below zero confirms a turn down.

These signals are slower but more reliable as trend confirmation.

3. Divergence

  • Bearish divergence: price makes a higher high while MACD (or the histogram) makes a lower high.
  • Bullish divergence: price makes a lower low while MACD makes a higher low.

As with RSI divergence, this is a warning that momentum is fading — not a standalone entry signal.

A Practical Way to Use MACD

Many traders get more from MACD by using it as a filter rather than a trigger:

  1. Check MACD on a higher timeframe to define the direction (above zero = look for buys, below zero = look for sells).
  2. Drop to a lower timeframe and wait for a price-based entry — a pullback to support with a bullish candle, for example.
  3. Use a shrinking histogram or divergence as a reason to tighten stops or take partial profits.

This keeps you trading with momentum while letting price, not the indicator, time your entries. Our guide on multi-timeframe analysis explains the top-down approach.

The Lag Problem

Because MACD is built from moving averages, it always lags price. By the time the lines cross, a good part of the move may be over. That's why:

  • Crossovers work best in strong, sustained trends.
  • They work poorly in choppy, range-bound markets.
  • Faster settings (such as 5, 35, 5) react sooner but produce more false signals.

MACD vs RSI

MACD RSI
Type Trend + momentum Momentum oscillator
Range Unbounded (no fixed max) 0 to 100
Best for Trend direction and momentum shifts Strength, extremes, divergence
Overbought/oversold No fixed levels 70 / 30 (traditionally)

They measure related things, so using both rarely adds much. Pick the one you understand best and combine it with price action.

Common Mistakes

  1. Trading every crossover, especially in a range.
  2. Ignoring the zero line. A bullish crossover far below zero is a much weaker signal than one near or above zero in an uptrend.
  3. Expecting MACD to predict tops and bottoms. It describes momentum that has already happened.
  4. Stacking similar indicators (MACD, RSI, Stochastic) and treating agreement as extra confirmation. They are all derived from the same price data.

Key Takeaways

  • MACD = 12 EMA − 26 EMA, with a 9 EMA signal line and a histogram showing the gap between them.
  • Above zero = upward momentum; below zero = downward momentum.
  • Crossovers are common but noisy; zero-line crosses and divergence are better as context.
  • MACD lags — use it to define direction and let price action time your entries.

This article is for education only and is not financial advice.

Take this lesson to the chart

Put the idea into practice on real market charts with instant feedback — free, no sign-up needed.

Practice chart reading →
Exness — Take control of your money. Get started.