I just tested moving averages on 1,000 different strategies and 1,000 different market conditions. And I want to share the results with you – because this is one of those studies that actually changes how you think about filters.

The question is simple: do moving averages work as filters on top of trading strategies? Not in theory. Not on one backtested curve. On one thousand strategies, tested across one thousand different market regimes, running nearly one million iterations. That’s the only way to get a real answer.

I ran all of this inside BreakoutOS – the platform I use for all my strategy research. It handled close to one million exhaustive iterations in under a minute. Here’s everything I found.

Watch the full video below, then read on for the complete breakdown.

Why One Backtest Is Never Enough

Most traders test a filter on a single strategy and call it a day. If the equity curve looks better with the moving average on, they add it. If it looks worse, they drop it. Simple.

The problem is that approach is almost guaranteed to produce overfit results. You’re not discovering whether the filter works – you’re discovering whether it worked on that one strategy, over that specific data window, with those exact parameters.

What I needed was a different approach entirely. I loaded a base strategy in BreakoutOS – a simple Nasdaq 60-minute breakout – extracted its DNA, and let BreakoutOS automatically generate 1,000 structurally similar but distinct siblings. Each one shares the core logic but differs in its specific parameters and structure. Then I ran every moving average filter condition across all 1,000 of those strategies, on 1,000 different market conditions. BreakoutOS completed close to one million exhaustive iterations in under a minute.

That’s what I mean when I say “confirmed.” Not confirmed on one chart. Confirmed across a population.

The Base Strategy and Test Setup

The underlying strategy is a long breakout strategy on Nasdaq 60 minutes. The entry logic is straightforward: previous day’s low (measured at 4 PM Chicago time) plus 0.8 multiplied by the 40-period Average True Range. Exit is end-of-day. No filter at all – just the raw entry and exit.

That’s intentional. I wanted a clean foundation with no filter so that any change in results could be attributed entirely to the moving average condition being tested.

The filters we tested fell into three categories:

  • Close vs. SMA: Is the close above or below a simple moving average? Periods tested: 10 to 200 in steps of 10.
  • Close vs. EMA: Is the close above or below an exponential moving average? Two multiplier variants tested – multiplier 2 (periods 2 to 40) and multiplier 5 (periods 5 to 100).
  • Dual EMA crossover: Is the fast EMA above or below the slow EMA at entry time? Tested fast periods 2 to 40, slow periods 5 to 100.

That gave us 920 total parameter variants, each tested across the full population of 1,000 generated strategies and 1,000 market conditions.

How We Measured “Does It Work”

For each condition, we tracked three fitness metrics across the 1,000 strategies:

  • Net Profit/Drawdown Ratio improvement – did the risk-adjusted return get better?
  • Average Trade improvement – did the average trade value go up?
  • Bounce Index – of the strategies that were originally failing (out of the 1,000 siblings), how many were brought back to profitability by the filter?

A filter that consistently improves all three, across a thousand strategies, is genuinely robust. One that looks good on two or three individual cases is just noise.

EMA Close Filter: Not What You’d Expect

Let me get straight to what surprised me. The exponential moving average – when used as a simple close-above/close-below filter – did not perform well. For the Nasdaq long strategy, checking whether price is above or below an EMA at entry time did not produce meaningful, robust improvement across the population.

It can look great when you optimize it for a specific strategy. But once you test it across 1,000 strategies and 1,000 market conditions, the viability drops. It’s not confirmed. And if it’s not confirmed on a population, it’s overfit.

That’s the key distinction. An indicator can appear to work on your strategy because you found the perfect period for that curve. But that’s not the same as the indicator actually being a good filter. EMA close conditions, at least for long breakout strategies on Nasdaq, don’t hold up to population-level testing.

Simple Moving Average: Consistently Strong

Here’s where it gets interesting. Simple moving average – just checking if the close is above the SMA at the time of entry – produced strong results across the full population. 83% viability. Highly recommended.

What impressed me most was the average trade improvement. On average across 1,000 strategies, adding an SMA filter improved average trade by approximately 50%. It didn’t matter much which period you chose – 20, 40, 60, 100 – the improvement was consistent across the range. That tells you it’s not an artifact of parameter selection. It’s real.

Think about what that means practically. A lot of strategies that are theoretically sound but have a low average trade become untradeable because commissions and slippage eat the edge. A 50% improvement in average trade changes the math entirely. Strategies that were on the edge of tradeable can become solid performers just by adding a simple moving average filter.

The SMA filter also had a strong Bounce Index – meaning a meaningful portion of the failing strategies among the 1,000 siblings were brought back to profitability with it. I’ve been saying for years that I love the simple moving average. It’s not flashy. A lot of traders dismiss it because it seems too basic. But this is exactly why I use it. It’s robust, it’s simple, it has only one parameter to optimize, and it works.

For more on how I think about filtering bad trades, see How I Filter Up to 80% of Bad Trades with One Simple Trend Hack.

The Real Winner: Dual EMA (Fast Below Slow)

Honestly, this one surprised me. I didn’t expect it to come out on top, but the data is clear. The strongest performing condition across the full population was a dual EMA crossover filter: the fast EMA must be below the slow EMA at the time of the long entry.

The reason this works conceptually: if the fast EMA is below the slow EMA, the market is in a downtrend or a weak trend – exactly the conditions where a long breakout above a level is actually meaningful, rather than just continuation of an already overextended move. You’re filtering for entries that have room to run.

What makes this result particularly compelling is the optimization map. When you plot the performance across combinations of fast and slow EMA periods, you see that it almost doesn’t matter which specific values you pick within the reasonable range. The improvement is broad and consistent. That’s the hallmark of a robust condition – it doesn’t require you to nail the exact right number. It works across the neighborhood.

The sweet spot across all three fitness metrics (net profit/drawdown ratio, average trade, and bounce index combined) lands around:

Parameter Recommended Range
Fast EMA period 10 to 20
Slow EMA period 70 to 90
Ratio (slow/fast) Approximately 3:1 to 4:1

Confirmed on 1,000 strategies and 1,000 market conditions. That’s not a parameter you picked because it looked good on your backtest. That’s a parameter range that’s proven to hold up across a population.

What This Means for Your Breakout Strategy

The practical takeaway is straightforward. If you’re trading a long breakout strategy on Nasdaq, either of these two conditions is a well-validated starting point:

  • Close above SMA (any period from 20 to 200) – simple, robust, single input, improves average trade by ~50% across the population.
  • Fast EMA below Slow EMA (fast ~10-20, slow ~70-90) – the strongest all-round performer, broad optimization landscape, confirmed across 1,000 strategies.

The bigger lesson here is about how you validate. Most traders pick a filter, run it on their strategy, and if the backtest looks better they accept it as confirmed. That’s not confirmation – that’s selection. The difference between a filter that genuinely improves your strategy and one that just happened to fit the specific curve you tested it on is exactly the kind of population-level testing we ran here.

This is why I always test across 1,000 strategies and 1,000 market conditions. When something shows up consistently in a population, you can trust it. When it only works in isolation, you’re probably just fitting noise.

If you want to see how I build and validate strategies like this from the ground up, the Masterclass series walks through the full process – from validation to final robustness testing.

Next up: I’m going to run the same population-level test comparing RSI and CCI as filters. Based on what we found here, the results might surprise you.


Want to know which indicators actually work? The Indicators Playbook shares what I found testing 100 indicators across 4,100+ breakout strategies, plus custom indicators I built for my hedge fund. All 11 plays, with code for any platform.