Trading glossary

MACD Meaning: How It Is Calculated, Read and Where It Lags

The MACD meaning is moving average convergence divergence, a momentum indicator. The MACD line is a 12-period exponential moving average (EMA) minus a 26-period EMA. A 9-period EMA of that line is the signal line, and the histogram is the gap between the two. It describes recent momentum and lags price.

By RTX5 Editorial TeamLast updated: Editorial methodology
Illustration of price with two moving-average lines, marked Bar 1 and Bar 2, above a MACD panel where the MACD line crosses below the signal line at a point labelled read as bearish and the histogram bars turn from lime above the zero line to amber below it, beside the three MACD formulas and a worked example table with assumed numbers for Bar 1 and Bar 2.
Illustration only: when the MACD line drops below its signal line the histogram turns negative, and the worked example numbers are assumed. Open full-size diagram (opens in a new tab)

In brief

What does MACD mean?

The MACD meaning comes down to one comparison of two moving averages. Here is how each line is calculated, a worked example with simple numbers, how readings are described, and what the indicator cannot tell you.

Key takeaways

  • MACD is the 12-period EMA minus the 26-period EMA. Its signal line is a 9-period EMA of the MACD line, and the histogram is the MACD line minus the signal line.
  • The 12, 26 and 9 settings are conventions. Traders can change them, so two charts with the same name can show different readings.
  • Crossovers, zero-line moves and divergence describe past price and momentum. None of them proves that a move will continue.
  • MACD lags price because it is built from averages of past closes, and it can give repeated false signals in a trading range.
  • The formula takes any price series as input, so the same arithmetic applies to stocks, indices, commodities and currency pairs. RTX5 indicator features are planned, not available.

MACD meaning: what the MACD line measures

MACD is built from two exponential moving averages of the same price series. An EMA gives more weight to recent closes than a simple average does. The MACD line is the faster average minus the slower one, so it rises when the short-term average pulls away from the long-term average and falls when the reverse happens. For the wider background on price-based tools, see technical analysis.

Because the line is a difference between two averages, it tracks the change in momentum rather than the price level. A MACD value of zero means the two averages are equal. It does not show that a price is cheap or expensive, and it does not say how far a move will go.

The MACD formula: three lines and how each is built

  • MACD line: a 12-period EMA minus a 26-period EMA.
  • Signal line: a 9-period EMA of the MACD line.
  • Histogram: the MACD line minus the signal line. It is positive when the MACD line is above the signal line and negative when it is below.

The periods count bars on the timeframe you chart. A 12-period EMA on a daily chart is a different calculation from a 12-period EMA on a one-minute chart, so always read the timeframe next to the settings. The AAII article on MACD describes the 12, 26 and 9 settings as the typical ones.

MACD calculation worked example with simple numbers

This example uses assumed values, not market data. Suppose that at the close of one bar the 12-period EMA is 105.00 and the 26-period EMA is 102.00. The MACD line is 105.00 minus 102.00, which is 3.00.

Suppose the signal line, the 9-period EMA of recent MACD values, is 2.40. The histogram is 3.00 minus 2.40, which is 0.60. It is positive because the MACD line sits above the signal line.

On the next bar, assume the 12-period EMA falls to 104.20 and the 26-period EMA is 102.30. The MACD line becomes 104.20 minus 102.30, which is 1.90. Assume the signal line is now 2.00. The MACD line has moved below the signal line, so the histogram is 1.90 minus 2.00, which is minus 0.10. The histogram has changed sign, and this page describes that as a bearish crossover.

The example shows the arithmetic, not the output of the formula. In a live chart the signal line is itself an average of many past MACD values, so the 2.40 and 2.00 figures are inputs chosen for the calculation.

How MACD readings are described, and what each one does not prove

Educational sources describe a small set of readings. The table lists each one and the limit that matters most. The third column is this page's reading of the indicator, not a claim made by the sources.

Common MACD readings and what they do not prove
ReadingCommon descriptionWhat it does not prove
MACD line crosses above the signal lineDescribed as bullishThat the price will rise or that the move will last. The crossover shows a change in the gap between two averages.
MACD line crosses below the signal lineDescribed as bearishThat the price will fall. Several crossovers can occur inside one trading range.
MACD line crosses above the zero lineDescribed as bullish, because the short average is above the long averageThat a new trend has started. Zero is the point where the two averages are equal.
MACD line crosses below the zero lineDescribed as bearishThat a downtrend will continue or that the price is overvalued.
Divergence: price makes a new high or low that MACD does not confirmDescribed as a stronger signal when it confirms the crossover signalsThat a reversal will follow. Divergence can persist while price keeps trending.

Source: Fidelity's MACD guide lists the crossover and zero-line readings and says divergence is a stronger signal when it confirms the crossover signals. Verified on 9 November 2026.

These readings are conventions traders use to describe a chart. None of them measures how likely a price move is, and none of them is a forecast.

Where MACD lags and gives false signals

  • It lags. Both averages are built from past closes, so the MACD line can turn after price has already changed direction.
  • It whipsaws in ranges. Fidelity notes that during trading ranges the MACD line can whipsaw back and forth across the signal line, and that MACD users generally avoid trading in that situation.
  • Settings change the answer. Fidelity notes that the parameters can be adjusted, and any change to them changes every reading. Choosing settings that happen to fit a past chart is curve fitting, and it does not show that the settings will work next.
  • It is not an overbought or oversold gauge. Fidelity says MACD is not typically used to identify those conditions.

A momentum reading is more useful when you check it against the price itself. The guides on volume in trading and what is price action trading cover other inputs that can confirm or weaken a momentum reading.

Who developed MACD, and what the date means

The AAII article attributes MACD to Gerald Appel and dates its development to the late 1970s. AAII is a secondary source, so check Appel's own writing before quoting a year.

You can check the arithmetic on this page against any chart that displays MACD, as long as the chart uses the same 12, 26 and 9 settings. Confirm the settings and the histogram definition on the chart you use before comparing numbers.

Using MACD across stocks, indices, commodities and currencies

The formula takes a series of closing prices as input and does not depend on the instrument. That is why the same three lines appear on charts of shares, index products, gold and currency pairs. The arithmetic does not change, but each price series behaves differently.

How often crossovers mislead depends on the market, its volatility and the period you chart. Test the indicator on the instrument you trade rather than assuming that a reading means the same thing everywhere. This page covers the definition, the arithmetic and the limits, not a trading strategy for any one market.

MACD in charting software

Charting software can draw MACD with different settings, so check the defaults on the chart you use against the formula above; for app comparisons, see MACD and RSI indicator apps for intraday use in 2026.

Risk disclosure

  • MACD is a lagging calculation. Its crossovers can arrive after a move has started, and some arrive after the move is already over.
  • Crossovers and divergence describe past price and momentum. They do not predict the next price and do not set a target or a stop.
  • Repeated crossovers in a range can produce a run of losing trades. Position size and a stop-loss plan are separate decisions from the indicator reading, and the learn guide on stop-loss orders covers the second.
  • This page is educational and is not personal financial advice. Trading can lose money, including positions opened on an indicator reading.

RTX5 status

RTX5 is Orrnn's trading terminal and broker-technology product. Its Windows desktop client is in preview, and the web and mobile clients are planned. A Google Play listing for Android is published, but the mobile client has no approved release record yet; check the product-availability record before relying on any RTX5 feature. Indicators are on the planned list, so this page does not describe an RTX5 MACD feature. The numbers in the worked example are assumed.

Check RTX5 product availability

Trust and methodology

How this research was prepared

We want you to be able to identify who owns the page, inspect the evidence, understand how tools were used, and challenge anything that looks wrong or out of date.

Accountable publisher

Published under the RTX5 Editorial Team byline. It identifies the responsible publishing organization; it does not imply that a named lawyer, regulator, financial adviser, or licensed expert approved this page.

Evidence you can inspect

3 primary references are listed on this page with context about what each one supports. The source set was checked on .

Assistance is disclosed

Automation and AI may help organize research, outline a page, or edit language. They are not treated as sources, are not presented as human experts, and do not remove the publisher's responsibility for the final page.

Questions readers ask

What does MACD mean?

MACD stands for moving average convergence divergence. It is a momentum indicator built from two exponential moving averages. The MACD line is the 12-period EMA minus the 26-period EMA, the signal line is a 9-period EMA of that line, and the histogram shows the gap between them. The name describes the two averages moving toward and away from each other. It is not a forecast.

Is MACD a leading or lagging indicator?

MACD is generally described as a lagging indicator, because both EMAs are built from past closing prices. The MACD line can turn after price has already changed direction. The periods can be adjusted, but every setting still averages past prices, so no setting removes the lag. Read MACD as a description of recent momentum, not as a signal of what comes next.

What is the difference between the MACD line and the signal line?

The MACD line is the faster 12-period EMA minus the slower 26-period EMA. The signal line is a 9-period EMA of the MACD line, so it smooths the MACD line itself. A crossover happens when the MACD line moves above or below the signal line. The histogram is the gap between them, and it is positive or negative depending on which line is higher.

Does a MACD crossover mean I should buy or sell?

No. This page explains conventions and does not give trading advice. A crossover describes a change in the gap between two averages. Educational sources describe crossovers as bullish or bearish, but they do not show that the price will follow. Entries, exits and position size belong in a plan that accounts for your own risk and circumstances.

Which settings should I use for MACD?

The 12, 26 and 9 settings are the conventional defaults, and the AAII article describes them as typical while noting they can be adjusted. Changing a setting changes every reading the indicator gives. Whatever settings you choose, test them on the instrument and timeframe you trade, and do not pick them only because they fit a past chart.

Does MACD work the same way on stocks and currencies?

The arithmetic is identical for any series of prices, so the three lines can be drawn on stocks, indices, commodities and currency pairs. How often crossovers mislead depends on the market, its volatility and the period you chart. Test the indicator on the instrument you trade rather than assuming a reading means the same thing everywhere.