What Is MACD: The Indicator Behind Half the Charts You See
MACD is the most-quoted technical indicator on the internet. It's also one of the simplest. Two moving averages, a difference, and a signal line. Here's how it actually works.
MACD stands for Moving Average Convergence Divergence. It's a momentum indicator built from two moving averages: the 12-day exponential moving average minus the 26-day exponential moving average. That difference is the MACD line. A 9-day EMA of the MACD line is the signal line. The space between them is the histogram. That's it. The whole indicator.
The way I think about MACD is that it's a derivative of price. Moving averages tell you the trend. The difference between two moving averages tells you whether the trend is accelerating or decelerating. MACD turns price into a velocity number, and the histogram turns that velocity into an acceleration number. That's where the signal comes from.
Plain English
What the Three Lines Mean
On any MACD chart, you're looking at three components:
- The MACD line: 12-day EMA minus 26-day EMA. When it's positive, short-term momentum is above long-term. When it's negative, the opposite.
- The signal line: 9-day EMA of the MACD line. A smoothed version of the MACD line, used to filter noise.
- The histogram: MACD line minus signal line, drawn as bars. Positive bars when MACD is above signal, negative when below.
The whole indicator oscillates around zero. Above zero, the stock is in an uptrend by short-term momentum. Below zero, downtrend. The crossover between the MACD line and the signal line is what most traders watch.
The Three Common Signals
Traders typically read three patterns:
- Signal line crossover. When MACD crosses above signal, that's a buy signal. When it crosses below, sell. The most-watched pattern in technical analysis after the 50/200-day moving average crossover.
- Zero-line crossover. When MACD itself crosses above zero, the trend is turning up. Below zero, turning down. Slower than the signal line crossover, fewer false alarms.
- Divergence. When price makes a new high but MACD doesn't, that's “bearish divergence,” suggesting momentum is weakening even as price continues. Reverse for bullish divergence at lows. The most cited “leading” signal MACD generates.
Where MACD Actually Works
MACD works best in trending markets. When a stock is moving directionally over weeks or months, the signal line crossovers tend to give you decent entries and exits. The classic test case is a stock breaking out of a long base: MACD will cross above signal and then above zero in sequence, and that sequence often coincides with the start of the move.
It does not work well in choppy or range-bound markets. When a stock is oscillating in a tight range, MACD whipsaws back and forth across the signal line, generating dozens of false buy and sell signals. Anyone who blindly trades MACD crossovers in a sideways market will get chopped to pieces by transaction costs.
The Honest Limitations
MACD is a lagging indicator. Both the MACD line and the signal line are derived from past prices. By the time MACD crosses up, the move has often already happened. The crossover is a confirmation of trend, not a prediction of it.
It also has no concept of price level. A MACD crossover at the top of a parabolic bubble looks identical to a MACD crossover at the bottom of a multi-year base. Without context (volume, support, fundamental earnings), the signal alone tells you nothing about whether the move ahead is 5% or 50%.
And the parameters are set by convention, not optimization. 12, 26, and 9 are the defaults Gerald Appel published. Backtest different windows on different stocks and you'll find that 12/26/9 is roughly average, not exceptional. Most of the “magic” of MACD is the popularity, not the math.
How Most Traders Actually Use It
Almost nobody uses MACD as a sole entry/exit signal. Most use it as one filter in a stack. Pattern recognition (a breakout from a base) plus MACD crossover plus volume confirmation is the typical setup. The MACD on its own would generate too many false signals. Combined with two or three other filters, the false-signal rate drops to something tradable.
The other common use is as a divergence indicator on multi-week or monthly timeframes. Looking for cases where price keeps making new highs but MACD doesn't, as a heads-up that a trend may be running on fumes. This use of MACD is more interpretive than mechanical, and it's where the practitioners I respect actually find value in the indicator.
Takeaway
MACD is a difference of two moving averages, and that's the entire trick. It's a momentum indicator that lags price, works in trending markets, fails in choppy ones, and is most useful as one input in a multi-filter setup rather than a standalone signal. The popularity comes from the simplicity, which is exactly why it shouldn't be confused with edge.
The Take
Learn MACD because everyone else is looking at it. That's a real reason. When most of the technical community sees the same crossover, the reaction to it can move price even if the indicator itself has no predictive power. That's reflexivity, and it's a meaningful effect on actively-traded stocks. For long-term investors, MACD is mostly noise. For short-term traders, it's a filter. For anyone using it as a magical timing tool, it's a way to lose money slowly.
Written by
Tech Talk News Editorial
Tech Talk News covers engineering, AI, and tech investing for people who build and invest in technology.