MACD: How It Works and How to Read It

By Mario V. P. · Updated 11/27/2026

The MACD is a momentum indicator that subtracts a 26-period exponential moving average from a 12-period one. It has three parts: the MACD line, the signal line (a 9-period average of the MACD) and the histogram, which shows the gap between them. Crossovers and divergences hint at trend strength, but they lag and often fail in sideways markets.

What the MACD Is

MACD stands for Moving Average Convergence Divergence. It is a momentum indicator: it measures whether two moving averages of price are moving closer together or further apart and, from that, whether the trend is gaining or losing strength. It is built from three pieces:

  • MACD line: the 12-period exponential moving average (EMA) minus the 26-period EMA. If it is positive, the fast average is above the slow one.
  • Signal line: a 9-period EMA of the MACD line itself. It smooths out its movements.
  • Histogram: the MACD line minus the signal line. The bars grow when momentum accelerates and shrink when it slows.

Hypothetical Example with Numbers

Imagine a stock on a daily chart. One day, the 12-period EMA is at $152.40 and the 26-period EMA is at $150.90:

  • MACD line: 152.40 − 150.90 = 1.50.
  • Signal line: let's assume it is 1.20.
  • Histogram: 1.50 − 1.20 = 0.30 (positive bar).

A few sessions later, the rally slows: the MACD line drops to 1.10 and the signal line is at 1.25. The histogram becomes 1.10 − 1.25 = −0.15. The MACD line has crossed below the signal line: that is a bearish crossover. Notice that the MACD is still positive (the fast average is still above the slow one), meaning the underlying trend has not turned; what has weakened is the momentum.

How to Read Crossovers

  • Signal line crossover: MACD above the signal line points to bullish momentum; below it, bearish. It is the fastest reading and also the one that fails most often.
  • Zero line crossover: when the MACD moves from negative to positive, the 12-period EMA has moved above the 26-period EMA. It is slower, but it confirms a trend change better.
  • Histogram: bars shrinking before the crossover often anticipate it. It is useful for seeing whether a move is running out of steam.

Divergences

A divergence happens when price and the MACD tell different stories. Continuing with the hypothetical example: the stock makes a high at $155 with the MACD at 2.80 and, weeks later, a higher high at $160, but with the MACD at only 2.10. Price is rising, but with less momentum: that is a bearish divergence. The reverse (lower lows in price and higher lows in the MACD) would be a bullish divergence.

Keep in mind: a divergence warns that the trend is weakening, not when it will turn. In strong trends it can last for weeks while price keeps advancing.

When It Fails

  • Sideways markets: the averages cross over and over again, generating constant false signals.
  • Lag: it is based on past averages, so it confirms moves after they have already covered part of the distance.
  • Gaps and events: an earnings report or a macro headline moves price all at once, and the indicator does not anticipate it.
  • It doesn't measure volatility: in options, the premium depends heavily on implied volatility, something the MACD does not reflect.
  • Absolute values: it is expressed in price units, so it can't be used to compare different assets.

How We See It at MTO

We prefer to treat the MACD as a piece of context, not a buy or sell button. A momentum reading can help decide the bias of a trade, but structure matters as much as direction: that is why we prioritize defined-risk structures, such as a call debit spread if we expect a rise, a put debit spread if we expect a decline, or an in-the-money put credit spread when we want to collect premium. If you need the basics of how options work, Mario explains them in his options tutorial (in Spanish).

At MTO we trade US options live, with real trades, in 50K, 10K and 5K accounts, with a Log Book that includes the wins and the losses, chats, training and the options calculator. If you want to see how we combine analysis with risk management, get to know MTO Opciones or try the Day Pass.

Educational and informational content. This is not investment advice. No indicator guarantees results: trading options involves risk and you can lose the capital you invest.

Frequently asked questions

What is the most common MACD setting?

The classic setting is 12, 26 and 9: a 12-period exponential average, a 26-period exponential average and a 9-period signal line. You can change it, but it's best not to over-fit it to the past, because then it works very well on the historical chart and worse in the live market.

Is a MACD crossover a buy or sell signal?

Not by itself. A crossover indicates a change in price momentum, not a guarantee of direction. In non-trending markets there are many false crossovers, so it's best to combine it with context: the underlying trend, support and resistance, and events such as earnings.

Can I compare the MACD value between two stocks?

Not directly. The MACD is expressed in price units, so a value of 2 doesn't mean the same thing for a $30 stock as for a $500 one. It is useful for comparing a stock with itself over time.

Keep reading

Want to see these strategies live? In the MTO community we trade real Interactive Brokers accounts and share every move in real time, with training and the full archive of past newsletters. The community runs in Spanish with automatic English translation.

Join the community

For educational purposes only. Not financial advice or an investment recommendation. The trades mentioned are real, already closed examples; past results do not guarantee future results. Trading options involves risk of loss.

Join the Newsletter

Every Sunday and Wednesday Mario breaks down a real strategy or trade, free in your inbox.