MACD stands for Moving Average Convergence Divergence. That name sounds like financial jargon, but the tool itself works on a straightforward principle: it tracks the relationship between two moving averages of an asset's price. A moving average is simply the average price over a set period—say, the last 12 days or 26 days. MACD compares a faster-moving average (12-day) to a slower-moving average (26-day) to spot potential trend shifts.
Fix Your Chromebook Common Problems Guide →
The reason traders pay attention to MACD is momentum. When a price is rising, the shorter moving average typically pulls away from the longer one. When momentum slows, they converge back together. When they actually cross, that's a signal the trend might be changing direction. Think of it like watching a runner's pace: if they're speeding up, the gap between where they are and where they started widens. If they're slowing down, that gap shrinks.
MACD was developed in 1979 by trader Gerald Appel. It became popular because it combines trend-following and momentum into one visual tool. Most trading platforms—from TD Ameritrade to Interactive Brokers to free charting sites like TradingView—include MACD by default. You'll see it as a separate panel below a price chart, typically showing colored bars and lines that fluctuate around a zero line.
The indicator generates three main components: the MACD line itself (the difference between the 12-day and 26-day moving averages), a signal line (a 9-day moving average of the MACD line), and a histogram (the bars showing the gap between the MACD and signal lines). Each component tells traders something different about whether price momentum is building or weakening.
Practical takeaway: Before learning MACD, understand that it's a momentum tool designed to highlight when trend direction may be shifting. It doesn't predict future prices—it reflects what's already happening in the current price action.
When you pull up MACD on a trading chart, you're looking at a histogram with two lines crossing it. Let's break down each piece so you know what you're actually seeing.
Free Guide to Making Cauliflower Pizza Crust →
The MACD line (usually shown in blue) is the primary indicator. It's calculated by subtracting the 26-day exponential moving average from the 12-day exponential moving average. When prices are moving up strongly, this line climbs above the zero line. When prices fall, it dips below. The slope of this line matters—a steep angle means momentum is strong, while a flat or horizontal line suggests momentum is weakening, even if price is still rising.
The signal line (usually red) is a 9-day exponential moving average of the MACD line itself. Think of it as the "trigger." When the MACD line crosses above the signal line, many traders interpret that as a bullish signal—a potential buy moment. When the MACD line crosses below the signal line, that's often viewed as bearish—a potential sell signal. These crossovers are among the most watched MACD signals in active trading.
The histogram (the vertical bars) shows the distance between the MACD line and the signal line. When the histogram is growing (bars getting taller), momentum is accelerating. When it's shrinking, momentum is fading. The histogram can turn negative when the signal line moves above the MACD line, which is another way traders spot weakening momentum.
Here's a real example: In March 2020, when stock markets dropped sharply during the pandemic lockdown, MACD histograms on major indices like the S&P 500 became deeply negative as selling accelerated. Then in April, as some buying returned, the histogram began expanding again in the positive direction, signaling that downward momentum had weakened.
Practical takeaway: Watch for MACD crossovers (when the blue line crosses the red line) and watch the histogram size. Growing histogram bars suggest building momentum in whichever direction the MACD is pointing. Shrinking bars suggest momentum is fading.
Traders have identified several recurring patterns in MACD behavior that often precede price moves. These aren't foolproof—no single indicator is—but they appear frequently enough that many active traders monitor them.
Free Guide to Understanding Check Cashing Services →
The most basic signal is the centerline crossover. When the MACD line crosses above the zero line (the center horizontal axis), it means the faster moving average has moved above the slower one, suggesting upward momentum. When it crosses below, downward momentum is building. Some traders use this alone as a buy or sell trigger, though many combine it with other information first.
The signal line crossover is more commonly used. When the blue MACD line crosses above the red signal line, it's called a bullish crossover. This has historically been used as a potential buy signal. When the MACD crosses below the signal line, that's a bearish crossover and a potential sell signal. Research from various trading firms shows that this crossover, when combined with price confirmation, appears in roughly 40-50% of successful trades, though timing varies significantly.
Divergence is a more advanced pattern. This happens when price makes a new high but the MACD doesn't confirm it with a new high of its own. For example, a stock price might reach $55 (higher than the previous peak of $52), but the MACD line doesn't rise as high as it did when the stock was at $52. This divergence can signal that momentum is weakening even though price is still climbing—often a warning that a reversal may be coming. Bearish divergence (price going down but MACD not going as low) works the same way in reverse.
Another pattern traders watch is histogram expansion and contraction. A rapidly expanding histogram (bars getting much taller) suggests momentum is accelerating strongly in one direction. A collapsing histogram (bars shrinking to near zero) often precedes a move—traders debate whether that move will continue the trend or reverse it. The histogram alone doesn't tell you the direction, just that the momentum is about to shift intensity.
It's important to note: MACD signals work better in trending markets than in sideways or choppy markets. When price bounces around without a clear direction, MACD generates false signals more frequently. Professional traders typically filter MACD signals through other confirmation tools before acting on them.
Practical takeaway: The three main MACD signals are centerline crossovers, signal line crossovers, and divergences. Each one suggests something different, so don't rely on MACD alone—combine it with price action and other indicators to reduce false signals.
MACD is a lagging indicator. That means it's based on historical price data (moving averages of past prices), so it typically confirms what has already happened rather than predicting what will happen next. This is both a strength and a weakness.
Get Your Free Brat Cooking Guide →
MACD performs notably well in strong trending markets. When an asset is in a clear uptrend or downtrend, MACD tends to stay on one side of the zero line for extended periods and generates fewer false signals. For example, during the Bitcoin rally from January to November 2021, MACD remained mostly positive and above its signal line through the entire move, providing consistent confirmation that the trend was intact. Traders who acted on every crossover would have captured most of that upward move.
MACD struggles in choppy, sideways, or range-bound markets. When price moves $5 up and $5 down repeatedly without establishing a clear direction, the MACD line whipsaws back and forth, generating rapid crossovers that lead to losses. During consolidation periods—when traders are undecided and price is essentially waiting for the next move—MACD is nearly useless. In 2018, the S&P 500 spent much of the fourth quarter in a tight range, and MACD signals generated numerous false breakouts that cost traders money.
MA
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.