Indicators & SignalsStocksETFsFuturesForexCrypto

MACD Indicator Strategy: What It Really Shows

MACD is the difference between two moving averages. Understanding that makes its signals obvious and its limitations unavoidable.

5 min readBeginnerUpdated September 16, 2026

At a glance

What it is
The gap between a fast and slow exponential average
Three components
MACD line, signal line, histogram
Default setting
12, 26, 9
Category
Trend and momentum; lagging by construction

Key takeaways

  • MACD is a moving average crossover expressed as a single oscillating line, so it inherits every property of crossovers including whipsaws in ranges.
  • The signal line crossover is a faster version of the same idea, producing more signals and more false ones.
  • The histogram measures the rate of change of the gap, which is why it turns before the crossover and why it turns often without consequence.
  • The zero line is meaningful: above it the fast average exceeds the slow, which is a trend condition rather than a momentum one.
  • MACD works best as one input in a system with volatility-based stops and diversification, not as a standalone signal generator.

What MACD is made of

MACD line   = EMA(close, 12) - EMA(close, 26)
Signal line = EMA(MACD line, 9)
Histogram   = MACD line - Signal line

Interpretation:
   MACD above zero      -> the 12-EMA is above the 26-EMA
                           (a trend condition)
   MACD crosses signal  -> the gap is changing direction
                           (a momentum condition)
   Histogram shrinking  -> the gap is narrowing
                           (momentum decelerating)

Nothing here is new information.  It is the distance between
two averages, plus the rate of change of that distance.
The three components and what each represents.

Recognising MACD as a crossover in disguise clarifies everything. The zero-line cross is the classic 12/26 EMA crossover. The signal-line cross is an earlier, noisier version of the same event. The histogram is the derivative, which turns earliest and is wrong most often.

The signals, ranked by reliability

SignalMeaningFrequencyReliability
Zero-line crossThe underlying moving averages have crossedLowHighest; it is a genuine trend change
Signal-line cross above zeroMomentum resuming within an uptrendModerateReasonable with a trend filter
Signal-line cross below zeroMomentum resuming within a downtrendModerateReasonable for shorts or exits
Signal-line cross against the trendCountertrend momentum shiftHighPoor; the main source of whipsaws
Histogram turnRate of change reversingVery highLowest; frequent and often meaningless
DivergencePrice extreme not confirmed by MACDModerateHard to define; see below

A complete MACD rule set

Universe
15 or more liquid, uncorrelated instruments. MACD on a single instrument produces long unprofitable stretches.
Timeframe
Daily bars, signals on the close, execution at the next open.
Trend context
Price above its 200-day moving average for longs.
Entry
MACD(12,26,9) line crosses above the signal line while the MACD line is above zero.
Initial stop
Entry minus 2.5 x ATR(20).
Exit
MACD line crosses below the signal line, or MACD falls below zero, or the stop is hit.
Time stop
Exit if the trade has not reached 1R within 20 sessions.
Position size
Risk 0.5 percent of equity per position; maximum 8 positions; maximum 2 per sector.

Expected characteristics: a win rate near 40 percent, average win roughly twice the average loss, and long flat periods when markets are range-bound. This is the standard profile of a trend-following rule, which is what MACD is.

MACD divergence

Divergence occurs when price makes a higher high while MACD makes a lower high. Because MACD is the gap between two averages, this simply means the most recent advance was slower than the previous one. That is a real observation, and it is not by itself a reversal signal.

  • Decelerating trends often continue. A slower advance is still an advance. Many long trends contain several divergences.
  • Definition determines results. How far apart the highs must be, how much lower the MACD peak must be, and what window to search all change the signal set entirely.
  • It is unusable without a stop. If used at all, treat it as a reason to tighten risk rather than as a reason to take a countertrend position.
  • Test it if you use it. Define it numerically, code it, and measure the base rate of what follows. Most traders who rely on divergence have never done this.

Limitations worth knowing

  • It is not normalised. MACD values depend on the price level, so a reading of 2.5 means something different for a 40 USD stock and a 400 USD stock. Comparisons across instruments require normalising, for example by dividing by price or by ATR.
  • It lags by construction. Both inputs are moving averages, and the signal line adds further smoothing.
  • It whipsaws in ranges. Identical to the crossover problem, because it is the same rule.
  • The default parameters are arbitrary. 12, 26, and 9 come from a period when markets traded six days a week. They persist by convention, which is a reason to use them but not a reason to trust them specifically.
  • It duplicates other indicators. Adding MACD to a strategy that already uses a moving average crossover adds nothing except a second opinion from the same source.

Frequently asked questions

What do the MACD numbers 12, 26, 9 mean?

They are the lookbacks for the fast EMA, slow EMA, and signal line respectively. The values date from a period when markets traded six days a week, so 12 and 26 approximated two and four weeks. They persist by convention rather than by evidence, which makes them a reasonable unoptimised default.

Is MACD a leading or lagging indicator?

Lagging. Both components are moving averages of past prices. The histogram turns earlier than the crossover, which is sometimes described as leading, but it is simply a faster derivative of the same lagging data and produces many more false signals as a result.

Should I use MACD crossovers as buy and sell signals?

Only with a trend filter. Taking every signal-line crossover generates frequent countertrend trades that lose in ranging markets. Restricting signals to those occurring on the correct side of the zero line, and adding a longer-term trend filter, removes most of the damage.

Can I combine MACD with RSI?

You can, but they overlap: both derive from recent price changes and frequently agree. Agreement between correlated indicators is not independent confirmation. If you want a second input, choose something measuring a different property, such as volatility or volume.

Does MACD work on intraday charts?

The calculation applies, but intraday noise generates many more crossovers, and costs accumulate quickly. If used intraday, lengthen the parameters substantially and apply a session or trend filter, or use a structural reference such as VWAP instead.

Test this idea before you trade it

Describe the rules in plain language and AlgoTrader AI turns them into a structured strategy blueprint with a configurable historical backtest, cost assumptions, and exportable code.

Build a backtest

Keep reading

Referenced by

Educational use only. This guide explains how a strategy works. It is not investment advice, not a recommendation, and no result described here is a forecast. Test any approach on historical and out-of-sample data, size positions conservatively, and never risk money you cannot afford to lose.