A moving average crossover happens when a faster moving average crosses a slower one on the same chart. A fast average crossing above a slow one is read as a shift to an uptrend, and crossing below as a shift to a downtrend. Common pairs are 20 and 50, and 50 and 200, the golden cross and death cross.
In short
- A moving average is the average of the last N closes, redrawn on every candle. A fast one (small N) follows price closely, and a slow one (large N) follows it loosely.
- A cross of the fast above the slow is a bullish signal, and below is bearish. The 50 crossing the 200 is called a golden cross (up) or a death cross (down).
- Crossovers lag. They confirm a trend that has already moved, so the entry is late and the stop is long.
- In a range they whipsaw: the averages cross back and forth and each trade loses a little.
- On a $25,000 Classic account, a 70-pip stop on 0.17 lots of GBP/USD risks about $119, under 10% of the $1,250 first-day daily loss limit.
What is a moving average crossover?
A moving average crossover is a signal that two averages of different lengths have changed order. While the fast average is above the slow one, recent prices are higher than older prices, which is the definition of a rise. When they swap places, the balance has shifted.
A simple moving average (SMA) adds the last N closes and divides by N. Take five GBP/USD closes of 1.2640, 1.2650, 1.2660, 1.2670 and 1.2680: the 5-period SMA is 1.2660. When the next close is 1.2690, the oldest value drops out, and the SMA becomes (1.2650 + 1.2660 + 1.2670 + 1.2680 + 1.2690) / 5 = 1.2670. An exponential moving average (EMA) gives recent closes more weight, so it reacts faster than an SMA of the same length.
The Academy indicators lesson covers moving averages with RSI, MACD and VWAP. The MACD indicator guide shows that MACD is built from the difference between two EMAs, so a MACD zero-line cross is a crossover in another form.
What are the golden cross and the death cross?
A golden cross is the 50-period average crossing above the 200-period average, and a death cross is the 50 crossing below the 200. They are slow signals used on daily charts, and they mark long trends that can last months. They arrive well after the turn in price.
Because the 200-period average covers about 10 months of daily candles, a cross takes a long time to form. By the time the 50 crosses above the 200, price has often risen a good distance from its low. Traders use it as a filter for the main trend, and not as a precise entry. Many hold only buys while the 50 is above the 200.
Both are well known, and that does not make them reliable. They have appeared at turning points and at the end of moves that were already over, and the record on any one market is mixed.
Which moving average settings should you use?
There is no best pair of averages. Short pairs, such as 5 and 20, give early signals and many false ones. Long pairs, such as 50 and 200, give few signals and late ones. Pick the pair to match the timeframe you trade and the holding time you want.
| Fast and slow | Typical chart | What it gives |
|---|---|---|
| 5 and 20 | 15-minute to 1-hour | Many signals, many whipsaws |
| 20 and 50 | 1-hour to 4-hour | A balance for swing trades |
| 50 and 200 | Daily | Few signals, for the long trend |
SMA or EMA is a similar choice. The EMA follows price more closely and gives earlier signals, with more false ones. The SMA is smoother and slower. Test the type you plan to use. Keep the settings fixed, because a pair tuned to fit the past tends to fail afterward.
How do you trade a moving average crossover?
Enter in the direction of the cross, put the stop beyond the recent swing, and exit on the opposite cross or a trailing stop. The strategy profits from long trends and gives back in ranges, so a market filter matters more than the exact settings.
- Filter for a trend. Only take crosses when the slow average slopes and price has been on one side of it. A flat slow average is a range.
- Enter on the cross, or wait for a pullback to the fast average, which gives a better price and a shorter stop.
- Place the stop beyond the last swing low (for a buy) or just beyond the slow average.
- Exit when the averages cross back, or trail the stop under each higher low. A fixed target cuts the winners that pay for the losers.
The trend following guide covers the whole style, including how trend traders accept a low win rate for large winners. The swing trading strategy guide shows how to hold a crossover trade over days.
What is a whipsaw and how do you limit it?
A whipsaw is a cross that reverses quickly, so the signal loses. In a range, the averages weave through each other and every cross is a small loss. Whipsaws are the cost of the strategy, and the way to limit them is to avoid trading when there is no trend.
Count the cost. If a strategy takes a 1R loss on each of five false crosses and then catches one trend that pays 6R, it ends the sequence at +1R. If the trend pays only 3R, it ends at -2R. That is why trend followers can lose on more than half of their trades and still profit, and why the same system loses when the market stops trending.
Filters that help: trade only when the slow average has a clear slope, require a candle close beyond the average and not a wick, and skip the first cross after a long range. Each removes some whipsaws and some good trades, so test the effect.
What does a moving average crossover trade look like with real numbers?
This example is a buy on a 4-hour GBP/USD chart, on a $25,000 Classic account risking 0.5% per trade, which is $125. One standard lot of GBP/USD is worth $10 a pip. The prices are made up for teaching.
- The 4-hour chart was flat for a week and then the 20-period EMA crosses above the 50-period EMA. The slow average is now rising.
- Rather than buy at the cross, wait for price to pull back to the 20-period EMA at 1.2680 and for a candle to close back up. Buy at 1.2680.
- The stop goes at 1.2610, below the last swing low. The risk is 70 pips.
- Size: $125 / (70 x $10) = 0.178 lots, rounded down to 0.17. A pip is $1.70, so the risk is 70 x $1.70 = $119.
- The target is 1.2820, twice the stop distance, 140 pips away. That is worth 140 x $1.70 = $238, a ratio of 2 to 1. Some traders skip the target and trail the stop.
If the 20-period EMA crosses back below the 50, the trade closes at the market and the result might be a small loss or gain. Simulated trades carry costs like a live account: a commission when a trade opens and closes, and holding costs on positions kept overnight, which matter for a trend trade held for days.
How this works on CMC Funded
On a $25,000 Classic account the daily loss limit is 5% of the day's starting equity, which is $1,250 on the first day, and the maximum loss is a fixed 10%, so the floor is $22,500. The limit is measured on equity, so a floating loss counts before the stop is hit. The $119 trade uses under 10% of the daily limit.
Crossover trades have long stops, so the positions are small and the dollars at risk are modest. The cost of a bad run is the sequence of losses: ten whipsaws at $119 each is $1,190, almost the whole daily limit if they came in one day, though on a 4-hour chart they come over weeks. The maximum loss of $2,500 on this account covers 21 full losses of that size.
The Classic profit targets are 8% in Phase 1 and 5% in Phase 2, which are $2,000 and $1,250. A single $238 win is about 12% of the first. Holding overnight and over the weekend is allowed, with holding costs, so a trend can be held. On the Direct route the daily limit is 4% and the maximum loss 6%. Read the rules for the definitions, and use the position size calculator.
Does the moving average crossover work?
Crossover systems have a long history, and results depend on the market and the period. They tend to profit in strong trends and lose in ranges, and the lag means they give back part of every move. There is no reliable single figure for how often they win.
Look for survivorship in published results: a pair of settings that worked on one market for ten years may have been chosen after the fact. To test your own, fix the averages, the filter and the exit, apply them to 50 signals on one pair and record the result in R. The trading journal template guide shows what to log.
Common mistakes
- Trading crosses in a range. The averages weave, and each cross is a small loss.
- Tuning the pair of averages to the past. A fit to last year rarely holds.
- Expecting an early entry. A crossover lags, so part of the move is gone.
- Taking a fixed target on a trend system. The large winners are what pay for the losses.
- Ignoring the higher timeframe. A bullish cross against a falling daily trend is a bounce.
- Treating the golden cross as a guarantee. It marks a trend that has begun and does not promise more.
- Sizing from the cross and not the stop. The lots follow from the distance to the stop, 70 pips here.
Questions traders ask
What is the best moving average crossover?
None has been shown to be best. The 20 and 50 suit swing trades on the 4-hour chart, and the 50 and 200 suit the daily chart. Choose by the timeframe you trade and test it.
Is the golden cross reliable?
It has marked long uptrends and also late or false turns. It is a filter for the main direction and not a precise entry, and results vary by market.
What is the difference between SMA and EMA crossovers?
The EMA gives more weight to recent closes, so it reacts sooner and gives more false signals. The SMA is slower and smoother. Both can be used the same way.
Does a crossover work on short timeframes?
It gives many signals on short timeframes and most are whipsaws, with the spread and commission eating the small targets. Longer timeframes suit it better.
Next steps
The Academy indicators lesson covers moving averages with practice questions. Read the Bollinger Bands guide for a volatility tool built on a 20-period average, and the stop loss strategy guide for placing the stop that a crossover trade needs. Size each trade with the position size calculator, and read the loss limits on the rules page.
You can compare the Classic and Direct routes on the challenges page.
