Moving Average Convergence Divergence (MACD)

Technical Indicators
intermediate
12 min read
Updated Mar 6, 2026

What Is Moving Average Convergence Divergence (MACD)?

MACD is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price, used to spot buy and sell signals.

Moving Average Convergence Divergence (MACD) is an exceptionally powerful and versatile technical trading indicator primarily used to identify changes in the internal strength, direction, momentum, and expected duration of a price trend. Originally developed by Gerald Appel in the late 1970s, the MACD has become a staple on every professional trading desk in the world. What makes it particularly unique is its dual nature: it is one of the rare indicators that successfully combines "trend-following" characteristics with "momentum" measurements into a single, high-performance visual display. This unique blend allows traders to see not just which way the market is moving, but also the internal "velocity" behind that move. The MACD is technically an "unbounded oscillator," meaning it does not have a fixed upper or lower limit like the Relative Strength Index (RSI). Instead, it oscillates freely around a central "zero line." By calculating the mathematical relationship between two different exponential moving averages (EMAs), it reveals when the market's short-term energy is accelerating or decelerating relative to its longer-term historical trend. This makes it an ideal tool for spotting the early stages of a major trend reversal or for confirming that an existing trend still has plenty of "fuel" left in the tank. Whether you are analyzing daily, weekly, or even high-frequency intraday charts, the MACD provides a sophisticated window into the collective psychology of the market participants.

Key Takeaways

  • MACD triggers technical signals when it crosses above (to buy) or below (to sell) its signal line.
  • The speed of crossovers is also taken as a signal of a market is overbought or oversold.
  • MACD helps investors understand whether the bullish or bearish movement in the price is strengthening or weakening.
  • It is one of the simplest and most effective momentum indicators available.
  • Divergence between the MACD and price action is a key reversal signal.

How MACD Works: Convergence, Divergence, and Crossovers

The MACD indicator works by meticulously calculating and comparing three distinct mathematical components that work together to produce its signature visual signals: 1. The MACD Line: This is the actual heart of the indicator. It is calculated by subtracting the 26-period Exponential Moving Average (EMA) from the faster 12-period EMA. When the short-term average is rising faster than the long-term average, the MACD line moves aggressively into positive territory, signaling bullish strength. 2. The Signal Line: This is a 9-day EMA of the MACD Line itself. Because it is an average of an average, it naturally "lags" the primary MACD line, functioning as a smoother trigger for high-probability buy and sell signals. 3. The Histogram: This is the visual bar chart representing the exact mathematical difference between the MACD Line and the Signal Line. As the two primary moving averages (the 12 and 26) move away from each other, the MACD line expands away from the zero line—a phenomenon known as "divergence." This clearly indicates that market momentum is increasing. As they move back toward one another, the MACD line returns toward zero—known as "convergence"—which reveals that the momentum is slowing down. The crossover of these lines is the professional trader's primary trigger: a cross "up" is a buy signal, while a cross "down" is a sell signal.

Signal Line Crossovers

Signal line crossovers are the most common MACD signals. The signal line is a 9-day EMA of the MACD line. As a moving average of the indicator, it trails the MACD line and makes it easier to spot MACD turns. * Bullish Crossover: Occurs when the MACD turns up and crosses above the signal line. This indicates that the momentum has shifted to the upside. * Bearish Crossover: Occurs when the MACD turns down and crosses below the signal line. This indicates that the momentum has shifted to the downside. Traders often wait for a confirmed crossover to avoid being "faked out" or entering a trade too early.

Important Considerations

While effective, MACD is not infallible. One of the main problems with divergence is that it can often signal a possible reversal but then no actual reversal really happens—it produces a false positive. The other problem is that divergence doesn't forecast all reversals. In other words, it predicts too many reversals that don't occur and not enough real price reversals. Another issue is that MACD is a lagging indicator. Since it is based on historical price data (moving averages), it will always trail the actual price action. In very fast-moving markets, the signal may come too late to be profitable.

Real-World Example: MACD Histogram

The MACD Histogram offers a visual representation of the difference between the MACD and the signal line. * When the MACD is above the signal line, the histogram is positive. * When the MACD is below the signal line, the histogram is negative. * The height of the bar represents the distance between the MACD and signal line. Scenario: A stock is rallying. The MACD is above the signal line, so the histogram is positive. However, the bars on the histogram start to get shorter (shrink). Interpretation: This means the MACD is moving closer to the signal line. Momentum is slowing down. Even though the price is still rising, the histogram warns that a bearish crossover might be approaching.

1Step 1: Observe positive histogram bars.
2Step 2: Note the peak bar height.
3Step 3: Watch subsequent bars decrease in height (Converging).
4Step 4: Prepare for potential trend change.
Result: Histogram contraction is an early warning system for crossovers.

MACD vs. Moving Averages

Difference between the indicator and its components.

FeatureMACD IndicatorMoving Averages (Price Chart)
LocationSub-window (Oscillator)Main Chart (Overlay)
MeasurementMomentum (Difference)Trend Direction (Average)
Zero LineCenters on ZeroFollows Price
SignalsCrossovers & DivergenceSupport/Resistance & Crossovers

Common Beginner Mistakes

Pitfalls to avoid:

  • Ignoring the timeframe (MACD on a 1-minute chart is very noisy).
  • Confusing the MACD line with the Signal line.
  • Using MACD in isolation without checking volume or price patterns.
  • Failing to adjust position size based on the strength of the signal.

FAQs

The interpretation and application of MACD can vary dramatically depending on whether the broader market is in a bullish, bearish, or sideways phase. During periods of high volatility and economic uncertainty, conservative investors may scrutinize quality more closely, whereas strong trending markets might encourage a more growth-oriented approach. Adapting your analysis strategy to the current macroeconomic cycle is generally considered essential for long-term consistency.

A frequent error is analyzing MACD in isolation without considering the broader market context or confirming signals with other technical or fundamental indicators. Beginners often expect a single metric or pattern to guarantee success, but professional traders use it as just one piece of a comprehensive trading plan. Proper risk management and diversification should always accompany its application to protect capital.

The standard 12, 26, 9 setting is widely used and effective for many traders. Short-term traders might speed it up (e.g., 5, 35, 5), while long-term investors might slow it down to reduce noise. Testing is required to find what works for a specific asset.

Yes, MACD is very popular in crypto trading because crypto markets trend strongly. The momentum signals emerge as highly relevant for volatile assets like Bitcoin and Ethereum.

A centerline crossover happens when the MACD line moves across the zero line. This indicates that the 12-day EMA has crossed the 26-day EMA. It is a confirmation of a trend change but is slower than a signal line crossover.

Unlike RSI which goes from 0-100, MACD has no limits. This is because the price difference between two moving averages can theoretically grow infinitely large if the price moves exponentially.

No indicator predicts the future. MACD interprets the past to give a probability of current momentum continuing or reversing. It is a tool for probability, not prediction.

The Bottom Line

Moving Average Convergence Divergence (MACD) is an absolute powerhouse technical indicator that successfully serves as the cornerstone for thousands of professional trading strategies across the globe. Its unique ability to simultaneously and accurately track both the primary trend direction and the internal momentum of an asset makes it one of the most efficient diagnostic tools ever created for the financial markets. While traders must always remain wary of the potential for false signals in frustrating sideways or choppy markets, the MACD remains one of the most reliable and repeatable methods for identifying profitable entry and exit points in healthy trending conditions. Ultimately, mastering the MACD requires more than just watching for line crosses; it requires an understanding of how market energy expands and contracts. For those who take the time to learn its nuances—especially regarding the powerful divergence patterns and histogram shifts—the MACD offers a profound mathematical edge that can significantly improve trading outcomes. In the high-stakes world of technical analysis, the MACD isn't just an indicator; it is a vital lens through which we view the true, underlying strength of the market's move.

At a Glance

Difficultyintermediate
Reading Time12 min

Key Takeaways

  • MACD triggers technical signals when it crosses above (to buy) or below (to sell) its signal line.
  • The speed of crossovers is also taken as a signal of a market is overbought or oversold.
  • MACD helps investors understand whether the bullish or bearish movement in the price is strengthening or weakening.
  • It is one of the simplest and most effective momentum indicators available.

Congressional Trades Beat the Market

Members of Congress outperformed the S&P 500 by up to 6x in 2024. See their trades before the market reacts.

2024 Performance Snapshot

23.3%
S&P 500
2024 Return
31.1%
Democratic
Avg Return
26.1%
Republican
Avg Return
149%
Top Performer
2024 Return
42.5%
Beat S&P 500
Winning Rate
+47%
Leadership
Annual Alpha

Top 2024 Performers

D. RouzerR-NC
149.0%
R. WydenD-OR
123.8%
R. WilliamsR-TX
111.2%
M. McGarveyD-KY
105.8%
N. PelosiD-CA
70.9%
BerkshireBenchmark
27.1%
S&P 500Benchmark
23.3%

Cumulative Returns (YTD 2024)

0%50%100%150%2024

Closed signals from the last 30 days that members have profited from. Updated daily with real performance.

Top Closed Signals · Last 30 Days

NVDA+10.72%

BB RSI ATR Strategy

$118.50$131.20 · Held: 2 days

AAPL+7.88%

BB RSI ATR Strategy

$232.80$251.15 · Held: 3 days

TSLA+6.86%

BB RSI ATR Strategy

$265.20$283.40 · Held: 2 days

META+6.00%

BB RSI ATR Strategy

$590.10$625.50 · Held: 1 day

AMZN+5.14%

BB RSI ATR Strategy

$198.30$208.50 · Held: 4 days

GOOG+4.76%

BB RSI ATR Strategy

$172.40$180.60 · Held: 3 days

Hold time is how long the position was open before closing in profit.

See What Wall Street Is Buying

Track what 6,000+ institutional filers are buying and selling across $65T+ in holdings.

Where Smart Money Is Flowing

Top stocks by net capital inflow · Q3 2025

APP$39.8BCVX$16.9BSNPS$15.9BCRWV$15.9BIBIT$13.3BGLD$13.0B

Institutional Capital Flows

Net accumulation vs distribution · Q3 2025

DISTRIBUTIONACCUMULATIONNVDA$257.9BAPP$39.8BMETA$104.8BCVX$16.9BAAPL$102.0BSNPS$15.9BWFC$80.7BCRWV$15.9BMSFT$79.9BIBIT$13.3BTSLA$72.4BGLD$13.0B