What Is MACD? Definition and Simple Example

Updated November 2026 · 1 min read

MACD, short for Moving Average Convergence Divergence, is a trend and momentum indicator calculated as the difference between a 12-period and a 26-period exponential moving average of price.

Example

A stock's 12-day EMA is $52.40 and its 26-day EMA is $51.10.

MACD line = 12 EMA − 26 EMA = $52.40 − $51.10 = $1.30

A positive value means the faster average is above the slower one, which suggests upward momentum. The signal line is a 9-period EMA of the MACD line. If the signal line is at $1.05, MACD is above its signal line, another bullish sign. The histogram shows the gap between the two: $1.30 − $1.05 = $0.25.

If prices start to fall, the 12-day EMA drops faster than the 26-day, the MACD line shrinks, and it may cross below the signal line or below zero.

Why it matters

MACD packs trend direction and momentum into one view. Traders watch for:

Stupid Simple Trader uses standard 12/26/9 settings. MACD above its signal line scores +1 (below scores −1), and MACD above zero adds +0.5 (below zero −0.5).

Common misunderstanding

Many traders treat every signal line crossover as a trade. In sideways markets, MACD crosses back and forth frequently, producing whipsaw signals. Because it is built from moving averages, it also lags price.

Learn more

This page is a short definition. For a full explanation, read:

Try it

See MACD combined with trend and RSI in one signal on a ticker page like /t/MSFT.

Frequently asked questions

Who created MACD?

MACD, short for Moving Average Convergence Divergence, was developed by Gerald Appel in the late 1970s. The histogram was added later by Thomas Aspray.

What are the standard MACD settings?

The standard settings are 12, 26 and 9: a 12-period EMA, a 26-period EMA, and a 9-period EMA of the MACD line as the signal line.

Is MACD a leading or lagging indicator?

Mostly lagging, because it is built from moving averages. It confirms trend changes rather than predicting them, though divergence can sometimes give an earlier warning.