Library · Indicators
Moving Average Crossovers
A moving average crossover is the moment a faster average, or price itself, moves from one side of a slower average to the other, recording a shift that has already happened.
Why it matters
Crossovers are probably the first “system” most beginners meet: a fast line crosses a slow line and the chart seems to be saying something. Headlines about a “golden cross” or “death cross” reinforce the idea that these events are important announcements.
A crossover is real information, but of a modest kind. It tells you that recent prices have, on average, moved above or below older prices. This page explains what that does and does not establish.
What it looks like
Two moving averages with different periods are drawn on the same chart. The shorter one is the fast average and the longer one is the slow average. A crossover is the candle on which the fast line moves from one side of the slow line to the other.
Types of crossover
| Type | What crosses | What it records |
|---|---|---|
| Price crossover | The closing price crosses one average | The latest close is now above or below its recent average |
| Double crossover | A fast average crosses a slow average | The short-term average is now above or below the long-term average |
The more smoothing involved, the fewer crossovers there are and the later each one arrives.
GOLDEN CROSS
The 50-period average moves above the 200-period average.
- Short-term average is now higher than long-term average
- Conventionally labelled bullish
- Follows a rise that has already happened
DEATH CROSS
The 50-period average moves below the 200-period average.
- Short-term average is now lower than long-term average
- Conventionally labelled bearish
- Follows a fall that has already happened
“Golden cross” and “death cross” are nicknames for the 50 and 200 pair, usually on a daily chart. The dramatic names are a convention of market commentary. The calculation is the same as for any other pair.
How it works
A cross up means one precise thing: the average of the last few closes has become larger than the average of a longer stretch of closes. For that to happen, price must already have been rising for a while.
Cross up: fast MA moves from below the slow MA to above itA cross down is the reverse. Nothing else goes into the calculation.- Price turnsA swing low or high forms.
- Fast average turnsA few candles later.
- Slow average turnsLater still.
- The lines crossConfirmed only when the candle closes.
In plain words
A crossover is like a monthly report confirming that sales have picked up. The report is accurate, and the improvement is real. But it started weeks before the report was printed, and the report cannot tell you whether next month continues the pattern.
Measuring the delayHypothetical illustration
A hypothetical market bottoms at 100 and starts climbing. The 9-period EMA crosses above the 21-period EMA on the candle that closes at 108.
Price later peaks at 130 and rolls over. The 9 crosses back below the 21 on a candle that closes at 121.
From low to high, price travelled 30 points. The two crossovers sit 13 points apart (121 - 108). The first 8 points and the last 9 points of the move happened before each crossover could print.
Now picture the same averages in a sideways market: a cross up at 108, then a cross down at 104 a few candles later. Two crossovers, and price went nowhere.
Settings and what they change
| Pair | Speed | Typical behaviour |
|---|---|---|
| 9 and 21 | Fast | Many crossovers, short delay, frequent false starts |
| 20 and 50 | Medium | Fewer crossovers, moderate delay |
| 50 and 200 | Slow | Rare crossovers, long delay |
The choice between SMA and EMA matters too. EMAs react faster, so EMA pairs cross earlier and more often.
There is no best pair. For any past chart, some combination of periods will look excellent, because with enough combinations to choose from one of them will fit by chance. This is overfitting, and a pair selected this way tends to disappoint on new data.
Going deeper
Trends and ranges
Crossovers describe trending markets reasonably well and sideways markets badly. In a range the two averages converge and cross back and forth. These repeated reversals are called whipsaws. Since markets often move sideways for long stretches, whipsaws are a normal feature of crossovers, not a rare exception.
The link to MACD
The MACD line is the gap between a 12-period and a 26-period EMA. When MACD crosses its zero line, those two EMAs are crossing on the price chart. MACD simply plots the distance between the averages in a separate panel.
How practitioners use them
Some trend-following approaches use crossovers as one component among several. Many traders use them more loosely, as a quick label for the current regime: fast above slow, or fast below slow. Either way, they are usually read alongside market structure, volume and volatility, and with the expectation that a share of crossovers lead nowhere.
What it does NOT mean
- A crossover is not a “buy signal” or a “sell signal”. It is a statement about two averages of past closes.
- A golden cross does not mean a bull market has started. It means the 50-period average is now above the 200-period average. Some are followed by long advances and some by quick reversals.
- A death cross does not mean a crash is coming. By the time it prints, a substantial decline has usually already taken place.
- No crossover marks a top or a bottom. By construction it comes after both.
Common mistakes
- Treating every cross as meaningful. In sideways markets most of them are whipsaws.
- Reading a cross before the candle closes. Averages can cross and uncross within a single unfinished candle.
- Optimising the pair on past data. The best historical pair is usually the most overfitted one.
- Ignoring structure. A cross up beneath a clear downtrend of lower highs is a different situation from a cross up after a higher low.
Risks and limitations
- Crossovers lag more than a single moving average, because two smoothed lines must both react.
- They generate many false readings in ranging and choppy markets.
- They say nothing about how far a move may go or how volatile it may be.
Key takeaway
A crossover records that the short-term average has moved past the long-term average. It is a late, plain description of a change that has already occurred, and in sideways markets it occurs often and means little.
Sources and further reading
- Technical Analysis of the Financial Markets, John J. Murphy (1999). Chapter on moving averages, including the double crossover method