Technical Analysis5 min readUpdated Mar 2026

MACD (Moving Average Convergence Divergence)

A trend-following momentum indicator showing the relationship between two moving averages of a stock's price.

Read the full guide: MACD Trading Strategy: How to Read and Trade MACD Like a Pro

11 min read — in-depth strategies, examples, and more

See MACD (Moving Average Convergence Divergence) in real trade signals

Tradewink uses macd (moving average convergence divergence) as part of its AI signal pipeline. Get signals with full analysis — free to start.

Start Free

Explained Simply

MACD is calculated by subtracting the 26-period EMA from the 12-period EMA. The result is the MACD line. A 9-period EMA of the MACD line is the signal line. When MACD crosses above the signal line, it's a bullish signal; below is bearish. The MACD histogram (difference between MACD and signal line) shows momentum strength. MACD is best used for confirming trends, not predicting reversals.

How MACD Is Calculated: The Three Components

MACD has three components that together paint a picture of trend direction and momentum strength.

MACD Line = 12-period EMA minus 26-period EMA. When the 12 EMA (fast) is above the 26 EMA (slow), the MACD line is positive — the short-term trend is bullish. When it's below, the MACD line is negative — short-term trend is bearish. The further the MACD line moves from zero, the stronger the trend.

Signal Line = 9-period EMA of the MACD line. It smooths the MACD line to generate trade signals. Crossovers between the MACD line and signal line are the primary trading signals.

MACD Histogram = MACD Line minus Signal Line. The histogram turns the crossover into a visual: positive histogram bars mean MACD is above its signal (bullish momentum); negative bars mean MACD is below its signal. Growing bars indicate accelerating momentum; shrinking bars indicate decelerating momentum.

Example: AAPL's 12-day EMA is $192 and its 26-day EMA is $189. MACD line = $3. If the signal line (9-day EMA of MACD) is $2, the histogram is +$1 — bullish and accelerating.

MACD Trading Strategies

Signal line crossover — The classic MACD trade. Buy when the MACD line crosses above the signal line; sell when it crosses below. This works best in trending markets but generates false signals in choppy, range-bound conditions. Adding a trend filter (price above the 50-day SMA for longs) significantly improves reliability.

Zero line crossover — When the MACD line crosses above zero, the 12 EMA has crossed above the 26 EMA — a more significant trend change than a signal line crossover. Buy when MACD crosses above zero with rising histogram bars; exit when it crosses back below. Slower but more reliable than signal line crossovers.

MACD divergence — The most powerful MACD signal. Bullish divergence: price makes a lower low but the MACD histogram makes a higher low, indicating selling pressure is weakening despite lower prices. Bearish divergence: price makes a higher high but MACD makes a lower high. Divergence signals often precede major trend reversals by 3-10 bars.

Histogram reversal — Watch for the histogram to contract (bars getting shorter) after a strong trend. This indicates momentum is fading even before a crossover occurs. Entering on the first histogram bar in the opposite direction provides earlier entries than waiting for the full crossover.

MACD Settings: Standard vs Fast vs Slow

Standard (12, 26, 9): Gerald Appel's original settings. Works well on daily charts for swing trading. The 12/26 combination captures approximately 2-week and 1-month momentum trends.

Fast (5, 13, 1): More responsive, generates signals earlier. Preferred by day traders on 5-15 minute charts. The shorter periods mean more signals but also more noise. Using a signal period of 1 effectively eliminates the signal line and relies on the MACD line crossing zero.

Slow (19, 39, 9): Filters out noise, captures larger trend moves. Preferred by position traders and weekly chart analysts. Fewer signals but higher quality — particularly good for confirming major trend changes.

Intraday settings: Many day traders use (3, 10, 16) or (5, 34, 1) on 1-5 minute charts. The right settings depend on the average trade holding period: shorter holds benefit from faster settings; longer holds from slower ones. Test settings on your specific strategy before trading live.

MACD vs RSI: When to Use Each

MACD and RSI both measure momentum but from different angles.

MACD measures the relationship between two moving averages — it tells you the direction and acceleration of the trend. Best for trend-following entries: entering breakouts, riding momentum, and exiting when momentum fades.

RSI measures the speed and magnitude of recent price changes on a bounded 0-100 scale — it tells you whether a stock is overbought or oversold relative to recent history. Best for mean reversion entries: buying pullbacks in uptrends, selling rallies in downtrends.

Using them together: MACD for direction, RSI for timing. Example: MACD line is above signal and above zero (bullish trend confirmed). RSI pulls back to 40-45 (short-term momentum dip within the uptrend). Enter long on the RSI bounce. This combines trend confirmation (MACD) with entry timing (RSI) — a far more reliable setup than either indicator alone.

The key distinction: MACD is unbounded (can go to any value), making it better for measuring trend strength. RSI is bounded (0-100), making it better for identifying extreme conditions.

How to Use MACD (Moving Average Convergence Divergence)

  1. 1

    Add MACD to Your Chart

    Add the MACD indicator with standard settings: 12-period fast EMA, 26-period slow EMA, and 9-period signal line. It displays as two lines (MACD line and signal line) plus a histogram showing the difference between them.

  2. 2

    Identify Signal Line Crossovers

    A bullish signal occurs when the MACD line crosses above the signal line. A bearish signal occurs when it crosses below. These crossovers are the primary trading signals — they indicate shifts in short-term momentum.

  3. 3

    Read the Histogram for Momentum

    Growing histogram bars (getting taller) mean momentum is accelerating. Shrinking bars mean momentum is fading. When bars flip from negative to positive, it signals a potential trend change — this often precedes the actual crossover.

  4. 4

    Watch for MACD Divergence

    If price makes a higher high but the MACD makes a lower high, bearish divergence warns the uptrend is weakening. If price makes a lower low but MACD makes a higher low, bullish divergence suggests the downtrend may be ending.

  5. 5

    Combine MACD with Trend Filters

    Use MACD for timing entries, but first confirm the trend direction with a moving average (e.g., 50-period SMA). Only take bullish MACD crossovers when price is above the 50 SMA, and bearish crossovers when below. This filters out many false signals.

Frequently Asked Questions

What is MACD and how does it work?

MACD (Moving Average Convergence Divergence) shows the relationship between two exponential moving averages. It subtracts the 26-period EMA from the 12-period EMA to create the MACD line, then adds a 9-period signal line. When the MACD line crosses above the signal line, it's a bullish signal. When it crosses below, it's bearish. The MACD histogram (MACD minus signal) visualizes momentum acceleration.

What MACD settings are best for day trading?

For day trading on 1-5 minute charts, faster settings like (5, 13, 1) or (3, 10, 16) are more responsive than the standard (12, 26, 9). The shorter lookback periods react faster to intraday price changes. Some day traders also use (8, 17, 9) as a middle ground. Always combine MACD with a trend filter like VWAP to avoid counter-trend signals.

Is MACD a leading or lagging indicator?

MACD is a lagging indicator because it is based on moving averages, which are derived from past prices. However, MACD divergences (when price and MACD disagree) can act as leading signals, often warning of trend reversals before they happen. The histogram can also provide early warnings when it starts shrinking before a crossover occurs.

How do you read a MACD divergence?

Bullish divergence: price makes a lower low but MACD makes a higher low — sellers are losing momentum despite new price lows, suggesting a reversal upward. Bearish divergence: price makes a higher high but MACD makes a lower high — buyers are weakening despite new highs, suggesting a reversal downward. Divergences are more reliable on higher timeframes (daily, weekly) than on intraday charts.

How Tradewink Uses MACD (Moving Average Convergence Divergence)

The AI uses MACD as one of multiple confirmation indicators for momentum breakout signals. A bullish MACD crossover occurring simultaneously with a price breakout above resistance provides much higher-confidence signals than either alone. MACD histogram divergences are also used to detect trend exhaustion.

Trading Insights Newsletter

Weekly deep-dives on strategy, signals, and market structure — written for active traders. No spam, unsubscribe anytime.

Related Terms

Learn More

See MACD (Moving Average Convergence Divergence) in real trade signals

Tradewink uses macd (moving average convergence divergence) as part of its AI signal pipeline. Get daily trade ideas with full analysis — free to start.

Enter the email address where you want to receive free AI trading signals.