Indicator, not scored

MACD explained: the MACD line, the signal line, and the histogram

How MACD (12, 26, 9) is built from two moving averages, what a signal line cross is, how traders read the histogram, and MACD on real stocks today.

What it is

MACD stands for moving average convergence divergence. Gerald Appel built it in the late 1970s. It follows the gap between a fast and a slow average of the price, so it shows when a move is gaining or losing pace.

How it is calculated

The MACD line is the 12-day exponential moving average of the close minus the 26-day one. The signal line is a 9-day exponential average of the MACD line itself. The histogram is the MACD line minus the signal line, drawn as bars above and below zero. Those three settings are the (12, 26, 9) printed beside the name.

How traders read it

When the MACD line crosses above its signal line, the gap between the two averages has started to widen faster than it did over the last nine days. A cross below means the reverse. A MACD line above zero means the 12-day average is above the 26-day; below zero, under it.

MACD is built from averages, so it lags the price: a cross confirms a change in pace after it has begun. In a sideways market the two lines cross back and forth often, and traders usually read a cross together with the trend it happens in.

MACD on Breakaway

Every public stock page shows whether MACD is above or below its signal line, and how many sessions ago it last crossed. Members can get an alert when MACD crosses above its signal line on a stock they follow. MACD does not count toward the Quality Score: in our tests on 20 years of daily prices, adding it did not improve the score.

MACD on Nvidia

Prices 18 minutes old, as of 1:42 PM ET. Members see real-⁠time prices.

Nvidia (NVDA)'s MACD line is above its signal line. It crossed above 7 sessions ago. The MACD line is above zero, so the 12-day average is above the 26-day.

NVDA on the chart

Not scored

Shown for reference. None of these counts toward the Quality Score: in our tests on 20 years of daily prices, none of them improved it.

  • MACD (12, 26, 9)Above signal

    Crossed above its signal line 7 sessions ago.

NVDA's Quality Score and the rest of its page

MACD crossed above its signal line

In the latest session, MACD crossed above its signal line on 8 of the 300 largest companies with a page on Breakaway ($56B and up), and below it on 10. The largest of the 8, by market cap:

  • MSFTMicrosoftAbove signal

    MACD crossed above its signal line in the latest session.

  • SNDKSandiskAbove signal

    MACD crossed above its signal line in the latest session.

  • BKNGBooking HoldingsAbove signal

    MACD crossed above its signal line in the latest session.

Breakaway shows MACD on every stock page and leaves it out of the Quality Score. How the Quality Score works

Related

See every stock's chart, live

Breakaway scores 2,958 US stocks on 14 chart checks and the Quality Score, every 15 seconds.

Get in free

Free for 24 hours. No account needed. Then keep going with a free account.

Stock pages, scored and explained How we rank stocks All 30 guides