Trading strategies · Intermediate

MACD Strategy Basics

MACD is an average of an average of a difference, so every signal it produces arrives after the move it is describing has already started.

Last reviewed by the MarketPro research desk · Editorial policy

In short

MACD plots the gap between a 12 and 26-period exponential moving average, with a 9-period signal line and a histogram showing the distance between them. A crossover marks a shift in short-term momentum, but because the construction is an average of an average it arrives late. On a 4-hour chart a cross can enter roughly 70 pips above the swing low it is confirming.

What to remember

  • A signal-line cross and a zero-line cross are different events. One times an entry, the other describes a broader change in trend direction.
  • The histogram is the fastest component and the crossover is the slowest, so watching the histogram trades delay for noise.
  • MACD values are not comparable across instruments or timeframes, because the indicator is unbounded and scaled to the price it is built from.
  • A crossover supplies a direction and a moment but no invalidation price, so the stop has to be anchored to a level on the chart.

What a MACD cross costs you in entry price

MACD tracks the gap between two exponential moving averages, usually 12 and 26 periods, and plots a 9-period average of that gap as a signal line. The histogram is the distance between the two. Every part of it is derived from past closes, so every signal it gives arrives after the move it describes has started.

Price that fact first, because it decides how the indicator should be used. On a 4-hour EUR/USD chart, price bottoms at 1.0610 and begins to recover. The MACD line crosses above its signal line three candles later with price at 1.0682. The entry is 72 pips above the low. If the subsequent move reaches 1.0810, the trade captures 128 pips of a 200-pip recovery and the stop has to sit below 1.0610 or below whichever swing low is nearest, which is 70 pips or more of risk on a 128-pip move.

Nothing there is a failure of the indicator. It is the arithmetic of a 9-period average of a 12/26 difference. The conclusion is not to abandon MACD, it is to stop expecting an early signal from a lagging construction.

Three lines, one calculation

  • The MACD line is the 12-period EMA minus the 26-period EMA. It is positive when short-term average price is above longer-term average price.
  • The signal line is a 9-period EMA of the MACD line, so it is an average of an average, and slower again.
  • The histogram is the MACD line minus the signal line. It grows as the two separate and shrinks as they converge, which is why a shrinking histogram is often read as momentum fading before any cross happens.

Read that way, the histogram is the fastest part of the indicator and the crossover is the slowest. Traders who want earlier information usually watch the histogram turn, accepting more noise for less delay.

Zero-line crosses say something different from signal-line crosses

These two events are frequently treated as the same signal and they are not.

EventWhat it meansTypical use
MACD crosses its signal lineShort-term momentum has shifted relative to its own recent averageEntry timing within a direction already chosen
MACD crosses zeroThe 12-period EMA has crossed the 26-period EMA outrightA slower, broader read on trend direction

A signal-line cross below zero in a downtrend is a countertrend bounce, not a buy signal. A signal-line cross above zero in an uptrend is a continuation entry. The same crossover carries a completely different meaning depending on which side of zero it happens, and separating those two cases removes a large share of the false signals people complain about.

10 more sections in MarketPro

Finish this lesson in MarketPro

The rest of MACD Strategy Basics, a quiz that checks it landed, and your place kept in the curriculum.

  • 10 more sections of this lesson
  • All 320 lessons, with no cap and no paywall
  • Free on any account, including a free one
In your browserContinue on webor continue on web

Same account as the app · No install · Free to start

Or scan with your phone camera to get the MarketPro app.

Not investment advice. Past performance is not indicative of future results.

Run the numbers while this is fresh

Work it through on your own position size. Nothing leaves your browser and there is no sign-up: Position size calculator, Profit & loss calculator, Compounding calculator.

Written and reviewed by the MarketPro research desk

MarketPro is a trading-signal and trading-education app operated by Harajuku Holdings LTD (Cyprus). Our signal desk publishes and tracks every trade idea in-app, and every page here is checked against the app's live behaviour before publishing. Last reviewed . How we produce signals and content · About MarketPro

FAQ

MACD Strategy Basics: questions

What do MACD settings 12, 26 and 9 mean?
The 12 and 26 are the periods of the two exponential moving averages whose difference forms the MACD line, and the 9 is the period of the average applied to that line to create the signal line. They were chosen for daily charts in the 1970s and have survived largely by convention. Shorter settings react faster and produce more crossovers, most of which do not develop.
Is a MACD crossover a good entry signal?
On its own it is a late one, because the calculation smooths price twice before a cross can print. It works better as a timing trigger once you have already decided on direction from the higher timeframe and identified a level where you want to trade. That way the crossover confirms momentum turning at a place that also supplies a stop, rather than generating entries anywhere on the chart.
What is the difference between MACD and RSI?
RSI is a bounded oscillator between 0 and 100 that measures the pace of recent gains against recent losses, so it is designed to describe how stretched a move is. MACD is unbounded and measures the gap between two moving averages, so it describes the direction and strength of a trend rather than its extremity. They answer different questions and frequently disagree, which is expected rather than a problem.
Trade · Learn · Earn

The whole academy is free in MarketPro

All 320 lessons, 12 guided paths, quizzes and a daily streak. Free on every account, in the app or your browser, with vetted free signals alongside it.

Same account as the app · No install · Free to start

Not investment advice. Past performance is not indicative of future results.