Skip to content

Aún no está disponible en español. Ver todo lo disponible en español

Stockertim Dictionary · Markets

MACD

Also called moving average convergence divergence, MACD indicator, MACD histogram

In short

MACD, moving average convergence divergence, is a chart indicator showing the gap between a shorter and a longer exponential moving average of price, plotted with a signal line.

  • Intermediate
  • Acronym
  • Checked

In detail

MACD stands for moving average convergence divergence. It is calculated by subtracting a slower exponential moving average of price from a faster one; the standard settings use 12 and 26 periods. When recent prices are rising faster than the longer history, the fast EMA pulls above the slow one and the MACD line is positive. When the two averages draw together they converge; when they pull apart they diverge, which gives the indicator its name.

Two more pieces sit on the chart. The signal line is a 9-period EMA of the MACD line itself, and the histogram shows the distance between the MACD line and the signal line as bars above or below zero. Chart readers watch for the MACD line crossing its signal line, for the MACD crossing zero, and for divergence, where price makes a new high but MACD does not, which can hint that momentum is fading.

MACD is built entirely from past prices, so every signal lags. It works best in markets that trend and poorly in flat, choppy ones, where crossovers come thick and fast. Its values are in price units, so a reading for a ₦5 share cannot be compared with one for a ₦500 share. It describes momentum; it does not forecast.

Formula

MACD = EMA12 − EMA26; Signal = EMA9 of MACD; Histogram = MACD − Signal

EMA12
the 12-period exponential moving average of price
EMA26
the 26-period exponential moving average of price
Signal
a 9-period EMA of the MACD line
Histogram
the gap between the MACD line and the signal line

Worked example

On one day a share's 12-period EMA is ₦104, its 26-period EMA is ₦100 and the signal line is ₦3.

  1. MACD line: ₦104 − ₦100 = ₦4
  2. Histogram: ₦4 − ₦3 = ₦1

The MACD line is above zero and above its signal line, so the histogram bar is positive.

In practice

MACD is one of the most common indicators in charting tools and appears in market commentary on shares, currencies and commodities. Traders usually combine it with price levels, volume or RSI rather than using it alone, and test any rule on past and new data first.

Watch out

  • The MACD line and the signal line are different lines; a cross of one over the other is not the same as a cross of zero.
  • Changing the 12, 26 and 9 settings changes every signal.

Learn it properly

Official sources

Facts last checked on 4 November 2026.

Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.

English