ATMResearch
Join Overfit - free
Overfit cover card on dark navy over a photo of forty face-down cards on a desk, kicker 'Mean reversion study': the headline '40 ways to buy the dip. 16 held up.' over the line '35 of 37 beat simply showing up. Only 4 of the top 10 held up.', with a corner badge reading 'SPY · 33.5 years · 17,385 trades'.
  1. Overfit/
  2. Research/
  3. Mean Reversion: 40 Ways to Buy the Dip, and the 16 That Held Up

November 5, 2026

Mean Reversion: 40 Ways to Buy the Dip, and the 16 That Held Up

Share

7 min read

Written by Ali Casey, founder of StatOasis and AlgoChef, creator of the Algo Trading Masterclass (ATM), with over 10 years of experience building systematic trading tools - building algorithmic strategies, testing ideas with data, and teaching traders how to build structured, portfolio-based trading workflows.

Published November 5, 2026 · Method

← Back to Research
Table of contents▾
  • TL;DR
  • How we tested
  • Does buying the dip work?
  • Why the ranking is not the answer
  • One exit doesn't fit 40 entries
  • Does the edge hold up?
  • Should you add a regime filter?
  • Are your entries secretly the same trade?
  • Does it work on futures and other markets?
  • Three example strategies, built from the survivors
  • The honest limits
  • What this means for you
  • The full study: 36 Ways to Buy the Dip, Second Edition
  • Methodology
  • FAQs

The short version

I tested 40 buy-the-dip entries on 33.5 years of SPY, 17,385 trades, each one measured against what entering on any day and holding just as long paid. 35 of the 37 that fire often enough to rank beat it. Then I cut the history into three periods and measured again: 16 held up, stable or stronger. 11 stayed positive but kept less than half their early edge. Only 4 of the top 10 held up.

TL;DR

  • Buying the dip mostly works on SPY. 35 of 37 rankable entries beat drift, the +0.158% that buying any day's open and holding four days paid.
  • The ranking is fragile. Rebuilt four other defensible ways, the median entry moves 13 places. Williams %R ranks anywhere from 2nd to 29th.
  • One exit fits almost nobody. Only 5 of 37 entries had their largest edge over drift at a four-day hold. 31 of 37 peak at five days or longer.
  • 16 of 40 held up across three decades. 11 decayed to under half their early edge, 10 changed sign in at least one period.
  • RSI(2) is decaying, not dead. Its edge fell from +0.549% to +0.198% to +0.096% while it kept firing.
  • Regime filters mostly fool you. 34 entries had a filter that raised their average trade over the whole window. 10 had one that helped in every period.
  • Of the markets tested, it is strongest on stock indices. 96% of rankable entries beat drift on the Nasdaq 100. On gold, 11%.

Every trader has a favourite dip. The RSI one. The three-down-days one. The close below the lower band. So put all forty on the same data, same exit, same account, and ask one more question: is the edge still there?

I spent years hunting for the best indicator. That hunt was the wrong question. The right one is less exciting: is the edge still there?

How we tested

Forty published buy-the-dip entries, from eight families: oscillators, price position, volatility, momentum, patterns, volume and a few more. Each one is a single rule that says "the market just dipped, buy here".

The testing environment:

  • Market: SPY daily, 1993-02-02 to 2026-08-20. 8,445 bars, 33.5 years. Price return, not total return.
  • Entry: the rule is read on the close, the trade buys the next open.
  • Exit: the open four bars after the entry bar. Holds of 0, 1, 2, 3, 5, 10 and 20 bars were run too, 2,880 backtested variants in all.
  • Sizing: $35,000, full-account shares, no compounding, one position at a time.
  • Costs: none. Frictionless, and I come back to that.

This is the study in 36 Ways to Buy the Dip, Second Edition, and every number below comes from it.

One idea carries the whole article, so here it is up front.

Over this SPY window, a long position made money just for showing up. Buy SPY at any day's open, sell four days later, and on average you made +0.158%. That is drift. An entry that earns +0.15% a trade has added nothing over drift. It just turned up. So every result here is edge over drift: the entry's average trade minus what entering on any day and holding as long paid.

Does buying the dip work?

Mostly, yes.

Three of the 40 fire fewer than 50 times at the four-day hold, so they're flagged and never ranked. Of the other 37, 35 beat drift. The two that don't are Gap Down at -0.178% and Lower Low + Close > Open at -0.038%.

The top of the list, at the fixed four-day hold:

RankEntryEdge over drift
1TSI+0.812%
1TRIX+0.812%
3Percent Below SMA+0.772%
4Large Range Down Day+0.612%
5DV2+0.522%
35 of 37 ranked entries beat drift, the average of entering on any day and holding four. The colours are the part to read: of the top 10, only 4 held up. The other 6 kept less than half their early edge.

So the question was never whether these entries work. Most of them do. The question is which ones you'd actually trade, and a ranked list is a surprisingly poor answer.

Why the ranking is not the answer

A ranking is a photograph. It shows you one moment of one set of decisions, frozen. You need the film.

The ranking above rests on four choices: which column to rank on, which hold, which window, which market. Each has an alternative that's easy to defend. So I rebuilt the ranking four more times, changing one choice each time, with no new backtest, just re-reading the same results.

They agree with the headline ranking at a Spearman correlation between 0.40 and 0.70. Not unrelated. Not the same either.

The median entry moves 13 places. Williams %R ranks 2nd on one list and 29th on another. It is a real entry with a real edge, and where it sits in a table is mostly a statement about how the table was built.

Only 3 entries move five places or fewer.

There's a second trap in the ranking column itself. Let profit factor pick each entry's best hold and 22 of 39 entries reach for the longest hold on offer, 20 bars. Average trade percent does it for 31 of 39. Neither column is broken. Both include drift, and drift grows the longer you hold, so given a free choice they rank holding periods instead of entries.

One exit doesn't fit 40 entries

The ranking above holds every entry for the same four days. Here is where each entry's edge actually peaks:

Only 5 of 37 ranked entries had their largest edge over drift at a four-day exit. 15 peak at ten days.

5 of 37. That's how many entries had their largest edge at a four-day hold. 31 of 37 peak at five days or longer, and 15 at ten.

These are mean reversion entries, usually traded as short-horizon ideas. Most of them had their largest measured edge at a longer hold than that.

One warning, because it matters. Those peaks were chosen after reading the results, over the same data. They tell you where to look. They don't tell you where to exit.

Does the edge hold up?

This is the test that changes the answer.

The ranking is an average over 33.5 years. So cut the window into three periods with the same number of bars, measure every entry in each one against that period's own drift, and see what order the results came in.

VerdictEntriesWhat it means
Stable9positive in all three periods, the latest within half to 1.5 times the earliest
Strengthening7positive in all three, the latest more than 1.5 times the earliest
Decaying11positive in all three, but the latest under half the earliest
Unstable10the edge changed sign in at least one period
Thin sample3under 20 trades in a period, not judgeable
16 of 40 held up. 11 kept less than half their early edge, and 10 changed sign at least once.

Sixteen of the 40 held up. That's the honest headline of this whole study.

Now go back to the ranking. Of its top 10, 6 are Decaying, still positive but worth under half what they were, and 4 held up. The ranking isn't wrong about them. Every bar is a real edge, correctly measured over the whole window. It's just silent about whether the thing it measured is still happening.

What decay looks like: RSI(2)

RSI(2) below 10 is the most famous dip entry there is, and the clearest case.

RSI(2) kept firing, 158, 145 and 137 times, and earned less in each period: +0.549%, then +0.198%, then +0.096% over drift.

Read the trade counts first. 158, 145, 137. The entry hasn't stopped firing. What changed is what each signal is worth: +0.549% over drift in the first period, +0.096% in the third. Less than a fifth.

Over the whole window it still looks fine. 440 trades, profit factor 1.61, a Strong verdict. That's the danger. Nothing in those whole-window numbers shows the decay.

Not everything is fading. PPO ran +0.008%, +0.172%, +0.398%. Drop it after testing on data ending in 2004, when it was barely above drift, and you'd have missed the two periods where it paid most.

Should you add a regime filter?

Every entry can be limited to a regime: volatility rising or falling, the long trend up or down. It's an easy way to improve an entry, and an easy way to curve-fit one.

Pick the best of four filters for each entry and 34 look improved. Ask the filter to help in all three periods and 10 still do.

34 of the 40 entries have a filter that raises their average trade over the whole window. Only 10 have one that also raises it in each of the three periods.

The gap is the trap. Forty entries times four filters is 160 chances to look good once. Pick the best of four for each entry and 34 of the 40 turned up a convincing one.

And the 10 survivors still cost something. For 6 of them the filter lowered return to drawdown. DV2's best filter adds to its average trade and drops its Ret/DD from 6.84 to 2.69. Z-Score of IBS keeps 87 of its 440 trades: its average trade rises +0.362% and its Ret/DD falls from 7.49 to 4.17. That isn't the same strategy improved. It's a much smaller one.

Are your entries secretly the same trade?

Two entries can sound unrelated and still fire on the same days.

Across all 780 pairs of entries, the average overlap in firing days is 0.170. Most of them really are different. But 19 pairs overlap more than 0.50, firing together on most of the days either one fires. DPO and PPO, two entries with different names and different formulas, overlap at 0.71.

Run two of those together and on most of their signal days you're taking the same trade twice. That's less diversification than two names suggest.

Does it work on futures and other markets?

On the E-mini S&P 500, mostly yes. Over 4,947 daily bars from 2007-01-03, 26 of the 37 rankable entries carry the same verdict on the contract as on the ETF. 3 come out better and 8 worse, and 2 of those 8 were already Decaying on SPY.

On other markets, it depends on the market.

The entries travel across stock indices and mostly fail on gold and the euro. Wheat, at 74%, is the reminder that it isn't only a stock effect.

96% of rankable entries beat drift on the Nasdaq 100, 84% on the Dow, 86% on the Russell 2000 ETF. Then 50% on the 10-year note, 28% on the euro and 11% on gold.

The fair objection is the calendar: the equity markets have shorter histories. So every market was also cut to one shared window starting 2002-04-05. Gold rises to 32% and still fails. The equity markets stay at 84% to 96%. The window explains some of it and nowhere near all of it.

Three example strategies, built from the survivors

An entry isn't a strategy. But you can build a starting point from the ones that held up, with mechanical rules stated up front, so you can change a threshold and rerun the pick yourself.

The pool: entries that are Stable or Strengthening, with at least 150 trades and 50 in every period, and an edge of at least 0.15% in their weakest period. 8 of 40 qualify. Three example strategies come out of them:

RuleHoldSPY tradesProfit factorWin %Max DDEdge over drift
A, single entryDV2(3, 250) < 0.054 bars2672.2165.54%12.28%+0.52%
B, the pairRange Position or Casey C%5 bars6271.7361.24%11.31%+0.31%
C, with a filterNew 10-bar low above SMA(200), ATR rising10 bars1902.0464.74%10.33%+0.48%

All three also earn a Strong whole-window verdict on the futures contract: on ES, profit factors of 1.81, 1.53 and 2.09.

They are deliberately incomplete. No stop, no position size, no portfolio rules. Those are your decisions, and the study doesn't make them for you.

The honest limits

  • Frictionless. No commission, slippage or spread were modeled, and the study does not test cost sensitivity. Price in your own costs before you trust any edge here.
  • Hypothetical. These are backtests on history. Nothing here guarantees a future result.
  • Not a buy-and-hold replacement on money. Holding SPY over the same window turned $35,000 into a $568,230.67 profit, with a worst fall of 56.47%. A dip entry is out of the market most of the time. Its case is the edge per trade and a smaller worst fall, like Example A's 12.28%.
  • One market for the main test. The stability test is SPY only. The futures and cross-market checks are there so you can see how far it carries.
  • The best holds were chosen after the fact. The ranking uses a fixed hold for exactly that reason.

What this means for you

  1. Measure against drift, not against zero. If your entry's average trade barely clears what entering on any day and holding as long paid, it adds little over drift.
  2. Don't treat the top of a ranking as the answer. Check whether an entry holds its place when you change the reasonable choices behind it.
  3. Cut your history into three and measure again. RSI(2)'s whole-window numbers looked fine while its edge shrank, so look at each period before you trust the average.
  4. Assume a filter is noise until it works in every period. Then count the trades it costs before you call it an improvement.
  5. Check overlap before combining entries. Two names can be one trade.
  6. Know your market. Among the markets tested, they did best on stock indices. On gold, assume nothing.

On the stock indices tested, buying the dip works. Knowing which dip still pays is the edge.

The full study: 36 Ways to Buy the Dip, Second Edition

Everything above is a summary. The book is the whole thing.

  • All 40 entries, one page each. The rule, how it works, a real dated trade drawn on its chart, the results at eight holding periods, a verdict, and the three worst trades each one took.
  • The evidence chapters. The ranking and why it moves, the three-period stability test, the regime filter test, the overlap between every pair, the same 40 on ES futures and on seven other markets.
  • A playbook for beginners. The three example strategies built in full, with exact rules.
  • Ready-to-run code in EasyLanguage and Python for all 40 entries and the three example strategies, plus an AI companion file so an AI assistant can write any entry in your own platform's language.

If you're going to trade a dip entry, read the page for it first. See what's inside 36 Ways to Buy the Dip.

If you'd rather start with the free research, every new study goes out in the Overfit newsletter first. StatOasis.com/Overfit.

Every figure above is a frictionless historical backtest on SPY daily data, with futures and cross-market checks, from 36 Ways to Buy the Dip, Second Edition. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading, and no representation is made that any account will or is likely to achieve profits or losses similar to those shown. Trading involves risk of loss. This is research, not investment advice.

Methodology

Data source
SPY (SPDR S&P 500 ETF) daily OHLCV, 8,445 bars, from the StatOasis research dataset. Second instrument: E-mini S&P 500 futures, day session, 4,947 daily bars. Cross-market check on seven more markets and a dividend-adjusted SPY control.
Date range
SPY 1993-02-02 to 2026-08-20 (33.5 years, 8,445 bars). ES 2007-01-03 to 2026-08-17 (4,947 bars). The stability test splits SPY into three periods with the same number of bars: 1993-02 to 2004-04, 2004-04 to 2015-06, 2015-06 to 2026-08.
Entry / exit rules
Each of the 40 entry rules is read on the close of a bar and filled at the next bar's open. The headline exit sells at the open four bars after the entry bar, the sell order placed at the close of the bar before (Execution rule v2). Holds of 0, 1, 2, 3, 4, 5, 10 and 20 bars are also run. The ranking uses the fixed four-bar hold.
Sizing
Long only, $35,000 starting capital, full-account shares on SPY and one contract on ES, no compounding. Frictionless: no commission, slippage or spread, which the article names as a limit.
Overlap mode
Flat only: one position at a time, and a signal while a trade is open is skipped.
Look-ahead
Signals are read on the close of bar t and filled at the open of bar t+1. Regime filters are read on the signal bar. The exit order is placed at the close of the bar before the exit bar.
Minimum sample
50 trades. An entry under 50 trades at the four-bar benchmark is flagged and never ranked (3 of 40). A stability period under 20 trades is not judged.
Buy-and-hold benchmark
Buy and hold on SPY over the same bars, from the controls block of the facts sheet: $568,230.67 net profit on $35,000, worst drawdown 56.47% (2009-03-09). Every entry is additionally measured against drift, the return of entering at any bar and holding the same number of bars, which is the comparison the ranking uses.
Random control
Seeded random control, frequency-matched to the median reliable variant of the study's own grid (209 entries, 3-bar hold, 10 seeds, Execution rule v2): $11,250.01 net profit (sd $6,370.87), worst drawdown 15.66%. The per-bar drift baseline used throughout the article is the same question asked of every bar rather than a random sample of them.
Parameter scopeConfiguration held fixed

One configuration was held still on purpose, so the condition under test is the only thing that varies.

Every entry keeps the trigger setting its code ships with, and the ranking holds every entry at one fixed four-bar exit, chosen before any result was read. The other seven holds and four alternative rankings are reported as checks, not as the result.

Why it was held fixed
Letting each entry pick its own best hold or setting would choose them after reading which did best on the same data being reported, which is the selection bias the comparison exists to avoid.
What this does not claim
Most entries do not peak at four bars (5 of 37 do), so the ranking compares entries at a hold most of them would not choose. The article shows how far the order moves when that choice changes.

Run to v1 of the StatOasis research standard - the rules every study here has to meet before it is published. The version is the study's own: a standard that gained a rule later never reaches back and claims this one met it.

Historical backtest results are not a guarantee of future returns. This content is for educational purposes only and is not investment advice. Hypothetical performance disclosure (CFTC Rule 4.41).

Frequently asked questions

Does buying the dip actually work?⌄

On SPY, mostly yes. Of 40 buy-the-dip entries, 37 fire often enough to rank, and 35 of those 37 beat drift, meaning their average four-day trade was larger than what buying at any day's open and selling four days later paid (+0.158%). The better question is which edges are still there: cut into three periods, 16 of the 40 held up and 11 decayed to under half.

What is the best mean reversion entry for SPY?⌄

At a fixed four-day hold, TSI and TRIX tie for first at +0.812% a trade over drift, ahead of Percent Below SMA at +0.772%. But the order is fragile. Rebuilt four other defensible ways, the median entry moves 13 places, and Williams %R ranks anywhere from 2nd to 29th. Of the top 10, only 4 held up. The other 6 kept less than half their early edge.

Does RSI(2) still work as a buy-the-dip entry?⌄

RSI(2) below 10 still has an edge, a smaller one. Over the whole window it took 440 trades with a profit factor of 1.61 and a Strong verdict. Split into three periods, its edge over drift fell from +0.549% to +0.198% to +0.096%, while it kept firing 158, 145 and 137 times. That is decay, not death.

How long should you hold a mean reversion trade?⌄

Often longer than four days. Only 5 of the 37 ranked entries had their largest edge at a four-day hold. 31 of 37 peaked at five days or longer, and 15 at ten days. Those peaks were picked after the fact, so treat them as where to look rather than as an exit rule.

Should you add a trend or volatility filter to a dip entry?⌄

Only one that works in every period. For 34 of the 40 entries, the best of four regime filters improved the average trade over the whole window. For only 10 did it also improve it in each of three equal periods. Even among those 10, the filter lowered return to drawdown for 6.

Do buy-the-dip entries work on futures and other markets?⌄

On the stock-index markets tested, yes. On the E-mini S&P 500, 26 of 37 rankable entries kept the same verdict as on SPY. Across other markets the share of rankable entries beating drift was 96% on the Nasdaq 100, 84% on the Dow and 86% on the Russell 2000 ETF, but 50% on the 10-year note, 28% on the euro and 11% on gold, each over its own history. Cut to one shared window from 2002-04-05, gold rises to 32% and still fails.

Does a buy-the-dip strategy beat buy and hold?⌄

This study doesn't test that head to head. Holding SPY over the same window turned $35,000 into a $568,230.67 profit with a worst fall of 56.47%. A dip entry is in the market only part of the time. Its case is the size of the edge per trade and a smaller worst fall, such as 12.28% for the single-entry example strategy built from DV2.

Read the Strategies, Backtested hub
← Back to Research

Table of contents

  • TL;DR
  • How we tested
  • Does buying the dip work?
  • Why the ranking is not the answer
  • One exit doesn't fit 40 entries
  • Does the edge hold up?
  • Should you add a regime filter?
  • Are your entries secretly the same trade?
  • Does it work on futures and other markets?
  • Three example strategies, built from the survivors
  • The honest limits
  • What this means for you
  • The full study: 36 Ways to Buy the Dip, Second Edition
  • Methodology
  • FAQs

Overfit - the newsletter

Skip the hype. Trust the data.One practical takeaway per issue.

Running a quick security check before this can be sent.

Delivered +2 times a month - when the work is ready, not on a calendar.I'll never sell your address.Unsubscribe in one click, any time.

Related Articles

Back to all research
#155

Donchian Channel: What It Is, How to Trade It, and 900 Backtests on 15 Markets

Oct 29, 2026 · 9 min read

A Donchian channel is the highest high and the lowest low of the last N bars, with a middle line halfway between. I traded it both ways, as a breakout and as a fade, in 900 variants on 15 markets from 2004 to 2026. The breakout made money on the side each market drifted (283 of 300 variants) and rarely against it (43 of 300). Set beside random entries with the same exit, 111 of 900 variants beat the random 95th percentile per bar held.

Read more→
#153

Rainbow Moving Average Settings: Spacing Is a Coin Flip in 165 Tests

Oct 29, 2026 · 10 min read

The classic five-line rainbow is spaced evenly (10, 20, 30, 40, 50), the way Widner's original stepped its lag. Spacing it by a constant ratio instead (10, 15, 22, 33, 50) looks like the fix, and across 11 futures since 2005 it is not: it added false alignment flips in 138 of 165 matched comparisons and won on return to drawdown in 87 of 165, a coin flip. The fastest line is what places a stack in the stable region.

Read more→

Overfit - the newsletter

Skip the hype. Trust the data.

One practical, evidence-driven takeaway per issue - strategy testing, portfolio construction, market structure, trading psychology, tactical asset allocation.

Running a quick security check before this can be sent.

Delivered +2 times a month - when the work is ready, not on a calendar.I'll never sell your address.Unsubscribe in one click, any time.

StatOasis is calm, evidence-based algorithmic-trading education, founded by Ali Casey. Ali builds systematic trading strategies and teaches the workflow behind them: research, build, test, combine, deploy. He writes the Overfit newsletter, published since 2024, and runs the Algo Trading Masterclass.

Socials

  • X ↗
  • YouTube ↗
  • Instagram ↗
  • LinkedIn ↗
  • GitHub ↗
  • Muck Rack ↗
  • LinkedIn SO ↗
  • GitHub SO ↗

Products

  • Overfit - the newsletter
  • Algo Trading Masterclass
  • StatOasis Community
  • 36 Ways to Buy the Dip
  • AlgoChef ↗

Reading & tools

  • Research
  • Methodology
  • Survive the Decade
  • Wall of Love

StatOasis

  • About Ali Casey
  • Contact
© 2026 StatOasis. Calm, evidence-based.
PrivacyTermsHypothetical resultsCalifornia