SP
S&P 500 6,337.5 ▼ -0.28%
€$
EUR / USD 1.1452 ▼ -0.39%
NQ
NAS 100 22,918 ▼ -0.65%
Bitcoin 66,612 ▲ +1.00%
Au
XAU / USD 2,318.4 ▲ +0.53%
£$
GBP / USD 1.3175 ▼ -0.06%
Ξ
Ethereum 2,042.5 ▲ +2.94%
DJ
US 30 42,518 ▼ -0.21%
SP
S&P 500 6,337.5 ▼ -0.28%
€$
EUR / USD 1.1452 ▼ -0.39%
NQ
NAS 100 22,918 ▼ -0.65%
Bitcoin 66,612 ▲ +1.00%
Au
XAU / USD 2,318.4 ▲ +0.53%
£$
GBP / USD 1.3175 ▼ -0.06%
Ξ
Ethereum 2,042.5 ▲ +2.94%
DJ
US 30 42,518 ▼ -0.21%
← Back to Encyclopedia
Technical Analysis Intermediate 2 min read

MACD

Definition
Trend-following momentum indicator.

The Moving Average Convergence Divergence (MACD) is a trend‑following momentum indicator that helps traders identify changes in the strength, direction, and duration of a price trend. Developed by Gerald Appel in the late 1970s, it combines two exponential moving averages (EMAs) to generate a single oscillator that fluctuates around a zero line, providing visual cues for bullish or bearish momentum.

How It Works

The MACD consists of three components:

  • MACD line – the difference between a 12‑period EMA and a 26‑period EMA of the asset’s price.
  • Signal line – a 9‑period EMA of the MACD line itself.
  • Histogram – the vertical distance between the MACD line and the signal line (MACD line − signal line).

When the MACD line crosses above the signal line, the histogram turns positive, suggesting upward momentum; a cross below the signal line yields a negative histogram, indicating downward momentum. The zero line acts as a baseline: MACD values above zero imply the short‑term EMA is above the long‑term EMA (bullish bias), while values below zero suggest the opposite (bearish bias). Traders also watch for divergences, where price makes a new high or low that is not mirrored by the MACD, often signaling a potential reversal.

On platforms such as MetaTrader 5, the MACD is built‑in and can be applied to any chart with a single click, allowing traders to adjust the EMA periods or signal‑line smoothing to suit their strategy.

Why It Matters for Traders

The MACD simplifies trend analysis by turning two moving averages into an easy‑to‑read oscillator. It provides:

  • Clear entry and exit signals through line crossovers.
  • Visual momentum strength via the histogram’s height.
  • Early warning of weakening trends through divergences.
  • Compatibility with multiple timeframes, from intraday scalping to long‑term investing.

Because it reacts to both trend and momentum, the MACD helps filter out false breakouts and confirms whether a price move is supported by underlying market force. When combined with other tools—such as support/resistance levels or the relative strength index (RSI)—it can increase the reliability of trade setups.

Example

Assume a currency pair’s 12‑period EMA is 1.2000 and its 26‑period EMA is 1.1950. The MACD line equals 0.0050. If the previous signal line was 0.0030, the histogram is +0.0020, showing bullish momentum. In the next period, the 12‑period EMA falls to 1.1980 while the 26‑period EMA rises to 1.1990, giving a MACD line of –0.0010. With the signal line now at 0.0015, the histogram becomes –0.0025, indicating a bearish crossover. A trader observing this shift might consider exiting a long position or entering a short, especially if the price also shows a bearish divergence.

Key Takeaways

  • The MACD blends two EMAs into a single oscillator that highlights trend direction and momentum.
  • Crossovers between the MACD line and signal line, along with histogram shifts, generate actionable buy/sell signals.
  • Divergences between price and MACD often precede trend reversals, providing early warning signs.
  • The indicator is readily available on MetaTrader 5 and works across all asset classes and timeframes.