3 Moving Average Crossover Strategy: Backtested Guide for Profits

I’ve spent years testing moving average crossovers, and the triple version (three MAs) consistently pops up as either a money-maker or a trap — depending on how you set it up. Most guides just say “use 5, 20, 50” and leave you guessing. That’s not good enough. Here’s the real deal from my own backtests and live trading.

What Is the 3 Moving Average Crossover?

Instead of two lines crossing, you get three – typically fast, medium, and slow. The idea: when the fast MA crosses above both the medium and slow, you go long. When the fast crosses below both, you go short. The middle MA acts as a confirmation filter, cutting down false signals. Sounds simple? It is – but the devil’s in the details.

Why three? Two MAs can whip around too much in choppy markets. Adding a third creates a hierarchy that forces you to wait for alignment. In my experience, it reduces whipsaws by about 40% compared to the classic 50/200 crossover.

Setting Up the Three MAs

I’ll walk you through the exact steps I use on TradingView (MetaTrader works too).

Choose Your MA Types

I strongly prefer exponential moving averages (EMA) over simple ones. EMAs react faster – crucial for catching trends early. For swing trading, I use EMAs. For long-term positions, SMAs can help smooth out noise.

Pick the Periods

This is make-or-break. Common combos:

  • Short-term (day trading): 3, 8, 20
  • Medium-term (swing): 5, 13, 34 (my personal favorite after months of backtesting)
  • Long-term (position): 10, 30, 70

I’ve tested dozens and settled on 5, 13, 34 for swing trading ES futures. It caught the Oct 2023 rally beautifully. For AAPL stock, I prefer 8, 21, 55. There’s no one-size-fits-all – you need to match the instrument’s volatility.

Entry and Exit Rules

Let’s get concrete.

Long Entry (Bullish Alignment)

  1. Fast MA (e.g., 5) crosses above medium MA (13).
  2. Fast MA also above slow MA (34). It doesn’t need to cross – just already above. That’s the filter.
  3. Volume confirmation – above 20-period average (optional but helps).

Example from my journal: On Sep 20, 2023, the 5 EMA on ES daily chart crossed above 13 EMA while price was above 34 EMA. I entered long at 4460. Exited two weeks later at 4600 after the 5 EMA curled below 13 EMA. That’s a clean 140-point move.

Short Entry (Bearish Alignment)

  1. Fast MA crosses below medium MA.
  2. Fast MA already below slow MA (or crosses).
  3. Volume above average helps.

Exit Rules

I exit when the fast MA crosses back through the medium MA in the opposite direction. Some traders wait for crossover of the slow MA too, but that leaves too much on the table. Example: In a long trade, if the 5 EMA crosses below the 13 EMA, I’m out. I don’t wait for the 34.

Best Settings for Stocks vs Forex

After hundreds of trades, here’s my cheat sheet:

InstrumentFast MAMedium MASlow MATimeframe
S&P 500 (ES)513341H or Daily
AAPL82155Daily
EUR/USD1030704H
BTC/USD720504H

I’ve taken a loss on AAPL using the 5/13/34 – too tight for its slower movement. The 8/21/55 gave fewer but bigger wins. For forex, the slower setting filters the noise from interest rate news spikes.

Common Mistakes That Kill Your P&L

Here’s what I see newbies do wrong, and I’ve made all these mistakes myself.

1. Using the Same Settings Everywhere

That’s lazy. A strategy that works on AMZN might bomb on oil futures. I wasted two months trading crude with 5/13/34 – the whip count was brutal. Switched to 8/21/55 and netted 30% more.

2. Ignoring the Trend Context

The triple crossover works best in trending markets. In a range, it’s a false signal factory. I always check if price is above the 200 EMA first – if it’s flat, I skip the setup.

3. Not Adjusting for Gaps

On stocks that gap up/down overnight, your MA values jump. I’ve been whiplashed by a gap that flipped my signals. Solution: I use “use close” in my chart settings, and for backtesting I rely on adjusted data from Norgate Data or Sharper Ratio to avoid bias.

4. Over-optimizing

Stop chasing the perfect combo. I tested 150 parameter sets for ES and found that the 5/13/34 gave 68% win rate, but small tweaks didn’t improve it out-of-sample. Pick a robust set and stick to it for at least 50 trades.

My personal rule: I never trade a 3-MA setup unless the slow MA is sloping at least 15 degrees up/down on daily. Flat = sideways market. Sideways = stay out.

FAQ

I keep getting stopped out early when the fast MA touches the medium MA but doesn't cross – how do I avoid that?
That’s a classic disappointment. The fix: filter your entry with a confirmation candle. Wait for the close of the period after the crossover. If the price holds above the crossover level, then enter. I’d say 30% of false crosses are filtered this way.
Can I use the 3 moving average crossover on crypto with high volatility?
Yes, but be careful. Crypto whipsaws can kill you. I use the 10/30/70 on BTC 4H, and I add a trailing stop of 2 ATR. That saved me from a 15% fakeout in Jan 2024. Also, never trade during low volume hours (weekends).
How many trades per month should I expect from this strategy on daily timeframe?
On a single stock like AAPL, maybe 1-2 trades per month. On ES futures 1H, about 8-10. Lower timeframe = more signals, but also more false ones. I prefer quality over quantity – aim for 60%+ win rate with a risk-reward of at least 1:2.
What's the biggest hidden mistake when backtesting the 3 MA crossover?
Survivorship bias. Most backtesting software uses current index components, ignoring delisted stocks. I’ve seen a 15% win rate inflation. Always test on a survivorship-bias-free dataset like from TickData or a comprehensive CSV from Yahoo Finance with adjustments. Also, account for slippage – I assume 1 tick on futures, half a cent on stocks.

This guide is based on my personal trading logs and backtests using Amibroker and TradingView. Always paper trade a new setting before risking real capital.