ATMResearch
Join Overfit - free
  1. Products/
  2. 36 Ways to Buy the Dip

StatOasis Research series, Volume 1

We tested 40 ways to buy the dip. 16 held up.36 Ways to Buy the Dip, Second Edition

The first volume of the StatOasis Research series: a 372-page research package that tests 40 mean reversion entries on SPY back to 1993 and on the E-mini S&P 500 futures back to 2007: 17,385 trades, and 2,880 backtested variants on each market. It builds 3 example strategies from the entries that held up, and ships full source code for all 40.

40
entries, each tested at 8 holding periods
2,880
backtested variants on each market
2
instruments: SPY from 1993, ES futures from 2007
3
example strategies with exact rules

By Ali Casey, founder of StatOasis. Systematic trader since 1998.

Get the full package for $147Read the RSI(2) full entry

Every update and correction to the second edition is free.

The cover of 36 Ways to Buy the Dip, Second Edition, by Ali Casey, in front of two of its pages: the RSI(2) results and the three starter strategies compared.

Most buy-the-dip signals have never been tested against the one thing that matters

An entry is a claim: the next few bars after it are different from any other few bars. That claim has a test, and almost nobody runs it.

This book runs it on all 40. Every entry is measured against what a random entry, held just as long, already paid. The difference is the edge. 35 of the 37 ranked entries beat that baseline.

That's the easy finding. The hard ones are why the book is 372 pages.

  1. Most top-ranked entries did not hold up.

    SPY's 33.5 years were cut into three equal periods. 6 of the top 10 entries by rank failed that test.

  2. Sixteen of the 40 held up across all three periods.

    Eleven are worth less than half what they used to be. Ten are not reliably positive at all.

  3. Some entries are the same trade in different clothes.

    All 780 pairs of entries were checked for firing on the same days, so you know which ones add nothing.

  4. They work on equity indices, not everywhere.

    On the Nasdaq 100, the Dow and the Russell 2000, 84% to 96% of entries beat drift. On gold, they fail.

You don't need another list of setups. You need to know which ones survive a test.

BuySellBuySellShortCover

Look inside

Read a full entry before you buy

Entry 4.1, RSI(2) below 10, as the book prints it: the rule, a real median trade on its chart, the results, the threshold test, the holding periods and the three worst days. Every one of the 40 entries gets the same pages in the same order.

Read the RSI(2) full entry

Part 1: The Playbook

Three example strategies, built only from the eight entries that held up in all three periods and cleared the book's quality floor, and picked by rules written down before any result was read. Each comes with exact rules, a real trade on a chart, results on SPY and ES, and every variation by holding period and filter.

A page from 36 Ways to Buy the Dip comparing the three starter strategies on SPY and ES: a table of hold, trades, profit factor, win rate, max drawdown and edge for each, and a bar chart of each starter's edge over drift.
A page from 36 Ways to Buy the Dip showing Starter A's example trade on SPY in June 2021 on a candlestick chart: bought at 420.37 and sold four bars later at 423.16, a gain of 0.66 percent, with the results table below.
A page from 36 Ways to Buy the Dip showing Starter C's example trade on SPY in June 2020 on a candlestick chart: bought at 298.02 and sold ten bars later at 301.41, a gain of 1.14 percent, with the results table below.
  • AExample A: DV2 below 0.05, hold 4 days

    Market
    SPY
    Edge
    +0.52%
    Trades
    267
    Profit factor
    2.21
    Win %
    65.54%
    Max drawdown
    12.28%
    Market
    ES
    Edge
    +0.28%
    Trades
    153
    Profit factor
    1.81
    Win %
    60.78%
    Max drawdown
    25.25%
  • BExample B: Range Position or Casey C%, hold 5 days

    Market
    SPY
    Edge
    +0.31%
    Trades
    627
    Profit factor
    1.73
    Win %
    61.24%
    Max drawdown
    11.31%
    Market
    ES
    Edge
    +0.20%
    Trades
    354
    Profit factor
    1.53
    Win %
    60.73%
    Max drawdown
    58.01%
  • CExample C: New 10-day low above the 200-day average, while ATR is rising, hold 10 days

    Market
    SPY
    Edge
    +0.48%
    Trades
    190
    Profit factor
    2.04
    Win %
    64.74%
    Max drawdown
    10.33%
    Market
    ES
    Edge
    +0.50%
    Trades
    110
    Profit factor
    2.09
    Win %
    68.18%
    Max drawdown
    25.82%
Results of the three example strategies on SPY and the E-mini S&P 500 futures (ES)
ExampleMarketTradesProfit factorWin %Max drawdownEdge
AExample A: DV2 below 0.05, hold 4 daysSPY2672.2165.54%12.28%+0.52%
ES1531.8160.78%25.25%+0.28%
BExample B: Range Position or Casey C%, hold 5 daysSPY6271.7361.24%11.31%+0.31%
ES3541.5360.73%58.01%+0.20%
CExample C: New 10-day low above the 200-day average, while ATR is rising, hold 10 daysSPY1902.0464.74%10.33%+0.48%
ES1102.0968.18%25.82%+0.50%
Edge is the average trade's return beyond what a random entry held as long earned. Frictionless, one position at a time, no compounding. Historical backtests: hypothetical results, not a guarantee of future returns. Your own data can move these numbers: session times, back-adjusted futures and the data vendor all change them.

The book is straight with you about them: an example strategy is an entry, a hold and, for one, a filter. No stop, no position size, no portfolio rules. The Guide tells you what to decide before you trade one, and gives you the trade counts your own code must reproduce.

The three example strategies, the evidence on all 40 entries, and the code to check every result yourself.

Get the full package for $147
Mockup of 36 Ways to Buy the Dip lying open at the Stochastic chapter on a sunlit desk, beside a laptop showing a price chart, a coffee and reading glasses.

Part 2: The Evidence

  1. 01

    All 40 entries

    One page each: the rule, pseudo-code, results at 8 holding periods, a verdict, and what failed printed beside what worked.

  2. 02

    The ranking, and why it is not the point.

    How the 40 rank, and why the rank alone would have misled you.

  3. 03

    Does the edge hold up?

    Every entry across three equal periods of history, every regime filter across the same split, and every pair checked for overlap.

  4. 04

    The same 40 on futures.

    All 40 on the E-mini S&P 500 day session over 19.6 years, including what a back-adjusted continuous contract does to eight of them.

  5. 05

    The same 40 on other markets.

    Seven more markets and a control: the Nasdaq 100, the Dow, the Russell 2000, the 10-year note, the euro, gold and wheat.

  6. 06

    From entry to strategy.

    The four things an entry does not decide for you: the exit, the size, the risk per trade and the portfolio.

The code

Full source code included, for your own research and trading.

EasyLanguage/PowerLanguage code

$SOf_CaseyC.txt

inputs:
  ChangeLen( numericsimple ),
  RankLen( numericsimple ),
  SmoothLen( numericsimple ) ;

variables:
  var1( 0 ),
  var2( 50 ),
  var3( 50 ),
  var1Hi( 0 ),
  var1Lo( 0 ) ;

var1 = 0 ;
if CurrentBar >= ChangeLen and Close[ChangeLen] <> 0 then
  var1 = ( Close - Close[ChangeLen] ) / Close[ChangeLen] ;

var1Hi = Highest( var1, RankLen ) ;
var1Lo = Lowest( var1, RankLen ) ;

if var1Hi - var1Lo > 0 then
  var2 = ( ( var1 - var1Lo ) / ( var1Hi - var1Lo ) ) * 100
else
  var2 = 50 ;

var3 = SmoothedAverage( var2, SmoothLen ) ;

$SOf_CaseyC = var3 ;
Python code

primitives.py

def casey_c(close, change_len, rank_len, smooth_len):
    """Casey C% (``$SOf_CaseyC``): a percent rank of an n-bar change in the close.

    Change   = (Close - Close[ChangeLen]) / Close[ChangeLen]
    Rank     = where Change sits between its RankLen-bar low and high, x 100
    Casey C% = SmoothedAverage(Rank, SmoothLen)
    """
    prev = ago(close, change_len)
    change = safe_div(close - prev, prev, 0.0)
    lo = lowest(change, rank_len)
    hi = highest(change, rank_len)
    rank = safe_div(change - lo, hi - lo, 0.5) * 100.0
    return smoothed_average(rank, smooth_len)
  • EasyLanguage for TradeStation

    Ready-to-run code for all 40 entries.

  • Python

    A standalone pack that computes all 40 entries and matches the book's own calculation on SPY and ES, signal for signal.

  • The 3 example strategies as ready-to-run code

    In EasyLanguage and Python, reproducing the trade counts the book prints.

  • The AI entries file

    All 40 rules, their pseudo-code and the 3 example strategies' rules in one plain text file. Hand it to an AI coding assistant with the book's PDF and have it write any entry or example strategy in your own platform's language. Appendix D shows how, and how to check what it writes before you trade it.

  • Every rule on the page

    Pseudo-code on every entry page, and all 40 stated exactly in Appendix C.

What the first readers said

Every reviewer here received the book free for an honest review, and gets the next StatOasis book free for answering our questions. Each is shown as written, with the reader's own description of their trading as its caption.

  • Honestly I was super skeptical buying this cuz these types of books always hide the losers. But seeing failed ideas, decaying edges, and even open discussion of coding errors from an older edition (like the DV2 correction) totally won me over. It's crazy how a backtest can look fine even when the code is doing something totally different. Spent more time auditing my own old code than testing his setups lol. Kinda dense, but a great reference.

    Marcus D., Algo developer for over a decade (TS, Python, SQX)

  • Chapter 5 alone was worth the price of the book. I used to just use one standard exit to compare all my entries thinking it was fair. Nope. The book shows how that basically just ranks entries by what fits that specific exit. Reran a bunch of my old notebooks after reading and the rankings totally changed. Not for lazy people wanting a monday morning signal.

    Chris P., Systematic ETF trader, own Python backtests for about 5 years

  • Honestly I already knew most of the indicators in here (RSI, IBS, Bollinger Bands, etc), so I wasn't expecting much new there. But the stuff on proving when a result is basically BS was fantastic. The parameter sweeps and examples of code producing totally plausible but wrong results was super valuable. Used it as an audit checklist for my old research. Don't buy it for "secret" indicators, buy it for the methodology.

    Sarah Jenkins, Building algos for 15 years (MultiCharts, Python)

  • Came for the indicator rankings, stayed for Chapter 6. Seeing a setup look great over 20 years but then realizing its edge completely died recently was a huge wake-up call. I'm definitely guilty of just looking at the full-period backtest as one number. Went back and split up my own strategies after reading this. Probably too deep if you just want quick ideas, but great if you actually build stuff.

    Mark T., Short-term mean reversion on TradeStation for about 10 years

  • Bought this hoping to find some new MR entries to diversify my current ETF/futures strats. Chapter 6 on overlap was an eye opener. Two completely different formulas can fire on the exact same days. Sounds obvious now, but made me realize I was confusing indicator diversity with actual strategy diversity. Started comparing signal dates on my own systems instead of just looking at return correlation. Doesn't build a portfolio for you, but that's honestly a good thing.

    James O'Connor, Systematic for 9 years

  • Got it for the entry ideas, but Chapter 7 was what I highlighted the most. The whole bit about continuous futures data and how back-adjustments mess with indicators... yeah, I definitely hadn't paid enough attention to that. Tested some on my own ES data. Just keep in mind the main research is on SPY, so you gotta do your own homework before blindly throwing these on other contracts.

    David W., Trades ES and NQ futures

  • I think it will be just another book of mean-reversion, but the testing framework is the real best part. Chapter 5 change my mind completely. I always use 4-day exit for my test, but to see many entries not peak there make me think again. Very happy EasyLanguage code is given, so I don't need to guess from picture. It is not ready system, just building block. Take me one weekend to read.

    Alejandro C., Trading 12 years with TradeStation

  • I do not want only indicator list. I want to see real test on dip-buying. The part about edge against drift is very excellent. It look obvious after read, but it change how I see published results. I play with Python files from book a lot. If you want only to copy the best setup and do no work, this book is not for you.

    Kenji S., Python user for 8 years

  • I want to know if buy-the-dip work outside S&P 500. Chapter 8 is very honest. It work good in stock index, but in other market it is not strong. I like that author do not hide this. Make me careful when I test strategy in new market. If you search for one magic rule for all markets, you will be disappoint.

    Elena Volkov, Tests strategies in futures, FX and stocks with Python

  • Needed concrete rules instead of just "buy when oversold." The exact definitions were great, but chapter 9 really hammered home that an entry is just one piece of the puzzle. Sizing, exits, and portfolio stuff are all separate. Coded a few of them up just to check my work. Not for total beginners though, you should know what a profit factor and drawdown are first.

    Robert M., Moved from discretionary to Python and TradingView

  • Honestly I was super skeptical buying this cuz these types of books always hide the losers. But seeing failed ideas, decaying edges, and even open discussion of coding errors from an older edition (like the DV2 correction) totally won me over. It's crazy how a backtest can look fine even when the code is doing something totally different. Spent more time auditing my own old code than testing his setups lol. Kinda dense, but a great reference.

    Marcus D., Algo developer for over a decade (TS, Python, SQX)

  • Chapter 5 alone was worth the price of the book. I used to just use one standard exit to compare all my entries thinking it was fair. Nope. The book shows how that basically just ranks entries by what fits that specific exit. Reran a bunch of my old notebooks after reading and the rankings totally changed. Not for lazy people wanting a monday morning signal.

    Chris P., Systematic ETF trader, own Python backtests for about 5 years

  • Honestly I already knew most of the indicators in here (RSI, IBS, Bollinger Bands, etc), so I wasn't expecting much new there. But the stuff on proving when a result is basically BS was fantastic. The parameter sweeps and examples of code producing totally plausible but wrong results was super valuable. Used it as an audit checklist for my old research. Don't buy it for "secret" indicators, buy it for the methodology.

    Sarah Jenkins, Building algos for 15 years (MultiCharts, Python)

  • Came for the indicator rankings, stayed for Chapter 6. Seeing a setup look great over 20 years but then realizing its edge completely died recently was a huge wake-up call. I'm definitely guilty of just looking at the full-period backtest as one number. Went back and split up my own strategies after reading this. Probably too deep if you just want quick ideas, but great if you actually build stuff.

    Mark T., Short-term mean reversion on TradeStation for about 10 years

  • Bought this hoping to find some new MR entries to diversify my current ETF/futures strats. Chapter 6 on overlap was an eye opener. Two completely different formulas can fire on the exact same days. Sounds obvious now, but made me realize I was confusing indicator diversity with actual strategy diversity. Started comparing signal dates on my own systems instead of just looking at return correlation. Doesn't build a portfolio for you, but that's honestly a good thing.

    James O'Connor, Systematic for 9 years

  • Got it for the entry ideas, but Chapter 7 was what I highlighted the most. The whole bit about continuous futures data and how back-adjustments mess with indicators... yeah, I definitely hadn't paid enough attention to that. Tested some on my own ES data. Just keep in mind the main research is on SPY, so you gotta do your own homework before blindly throwing these on other contracts.

    David W., Trades ES and NQ futures

  • I think it will be just another book of mean-reversion, but the testing framework is the real best part. Chapter 5 change my mind completely. I always use 4-day exit for my test, but to see many entries not peak there make me think again. Very happy EasyLanguage code is given, so I don't need to guess from picture. It is not ready system, just building block. Take me one weekend to read.

    Alejandro C., Trading 12 years with TradeStation

  • I do not want only indicator list. I want to see real test on dip-buying. The part about edge against drift is very excellent. It look obvious after read, but it change how I see published results. I play with Python files from book a lot. If you want only to copy the best setup and do no work, this book is not for you.

    Kenji S., Python user for 8 years

  • I want to know if buy-the-dip work outside S&P 500. Chapter 8 is very honest. It work good in stock index, but in other market it is not strong. I like that author do not hide this. Make me careful when I test strategy in new market. If you search for one magic rule for all markets, you will be disappoint.

    Elena Volkov, Tests strategies in futures, FX and stocks with Python

  • Needed concrete rules instead of just "buy when oversold." The exact definitions were great, but chapter 9 really hammered home that an entry is just one piece of the puzzle. Sizing, exits, and portfolio stuff are all separate. Coded a few of them up just to check my work. Not for total beginners though, you should know what a profit factor and drawdown are first.

    Robert M., Moved from discretionary to Python and TradingView

How everything was tested

These are hypothetical results from historical backtests, not real trading, and they deduct no trading costs. Past results, real or hypothetical, are not a guarantee of future returns.

1
Data
SPY daily, 8,445 bars from 1993. The E-mini S&P 500 day session, 4,947 bars from 2007.
2
Signal and fill
The signal is read at the close; the trade buys the next open.
3
Exit
Execution rule v2. The open a fixed number of bars after the entry bar, at 1, 2, 3, 4, 5, 10 and 20 bars, with the sell order placed at the close of the bar before. A 0-bar hold sells the same day's close.
4
Size
Every SPY trade buys what $35,000 buys at the entry price; every ES trade is one contract. Nothing compounds, so the 40 are comparable.
5
Positions and costs
One position at a time, long only, and a signal during an open trade is skipped, including one on the bar the sell order is placed. Costs are frictionless, and the book says so on every results page, with the average trade that costs would eat.

Who it is not for

  • Not for you if you want a signal service.There are no alerts. You code the rules or you don't use them.
  • Not for you if you trade intraday.Everything is tested on daily bars.
  • Not for you if you want a finished system.You get tested entries and three example strategies. The stop, the size and the portfolio are yours to decide, and the book shows you what to weigh.
  • Not for you if you want the one best entry.The book's whole argument is that the best-ranked entry is usually not the one that lasts.
Ali Casey, founder of StatOasis

Who put this together?

I'm Ali Casey, founder of StatOasis and a systematic trader since 1998.

I wrote this because I wanted one place where every buy-the-dip entry is tested the same way, on real data, with the code to check it yourself. I couldn't find it, so I built it.

You won't only read about winners. Most top-ranked entries did not hold up, and the book says so.

So I built it myself. Now it's yours.

“Trade what works. Test everything. Trust the data.”

36 Ways to Buy the Dip, Second Edition

What you get

One download, licensed to you by name: the 372-page book, the code that reproduces its numbers, and everything to run it.

  • Part 1: the Playbook, a full chapter for beginners: the 3 example strategies with exact rules.

  • Part 2: all the research and the numbers behind it, for the researchers.

  • 17,385 trades, and 2,880 backtested variants on each market: SPY from 1993, ES futures from 2007.

  • Ready-to-run code in EasyLanguage and Python for all 40 entries and the 3 example strategies, with install and run guides.

  • The AI companion: a mini book of all 40 rules, written to be read by AI models, so an AI assistant can write any entry in your own platform's language.

  • Free updates: every update and correction to the second edition is free.

Inside the download

  • 36-Ways-to-Buy-the-Dip.pdfThe book
  • 36-Ways-to-Buy-the-Dip-Code-v1.4.0/The code pack
  • START HERE.txt
  • 01 Install and Run Guide.pdf
  • 02 AI Prompt Companion.pdf
  • AI entries file/The AI companion: all 40 rules, for an AI assistant
  • EasyLanguage/For TradeStation, with the 3 example strategies
  • Python/Standalone pack, with the 3 example strategies
  • Entries spreadsheet/All 40 entries and their results in one sheet, as Excel and CSV
  • LICENSE.txt

Secure checkout

Payment is handled by Stripe over an encrypted connection. Your card details go straight to Stripe and never reach StatOasis.

  • Visa
  • Mastercard
  • American Express
  • Apple Pay
  • Google Pay
  • PayPal

The price$147, one payment.

Get the full package

Found a bug in the code? It is fixed free, and every buyer gets the fixed version.

All sales are final. This is a digital product and the book and code are available to download immediately, so there are no refunds. This does not affect your legal rights if a download is faulty or not as described.

Frequently asked questions

Value and price

How much is it?+

$147, one payment. Every update to the second edition is free.

Can I find this for free online?+

Some of it. One full entry, RSI(2), is free to read on this site, and the free study covers the ranking of the entries. What you won't find in one place is all 40 entries tested the same way, the stability tests across three periods, the futures and seven other markets, the three example strategies with exact rules, and code that reproduces the book's numbers.

Why pay when there are free videos on RSI and Stochastics?+

Those are two entries out of 40. Videos describe an entry; they don't measure it against a random entry held just as long, or show whether it held up in all three periods. Sixteen of the 40 did.

The package

Is this a book or a course?+

Neither, quite. It is the first volume of the StatOasis Research series: a research package with the rules, the results and the code, built to be tested rather than just read.

What exactly do I get when I pay?+

One download: the 372-page PDF, the code pack (EasyLanguage for TradeStation, a standalone Python pack, the 3 example strategies as code), the AI entries file, an install and run guide and an AI prompt companion. Your copy is licensed to you by name.

Is it strategies or entries?+

Both, and the book keeps them apart. It tests 40 entries, the signal that opens a trade, and builds 3 complete example strategies from the ones that held up. The example strategies have exact rules and a fixed exit. None of them carries a stop or a position size.

Does it include code?+

Yes. Ready-to-run EasyLanguage and Python for all 40 entries and the 3 example strategies, plus an AI entries file of every rule, which with the book's PDF lets an AI assistant write any entry or example strategy in your own platform's language.

What format is it?+

A 372-page PDF, with the code and the AI entries file in the same download.

Is there a printed copy?+

No. It is a digital download only, and nothing is shipped.

Does it show results for every entry?+

Yes. All 40 entries get a page each: the rule, pseudo-code, results at 8 holding periods, a verdict, and what failed printed beside what worked.

Platform and code

Which markets and dates were tested?+

SPY daily from 1993, the E-mini S&P 500 futures from 2007, then seven more markets and a control.

Do I need special software?+

The EasyLanguage runs on TradeStation, and the Python pack runs on Python. For any other platform, have an AI assistant write the entry or example strategy from the AI entries file and the book's PDF, then check it the way Appendix D describes.

Can I use it without TradeStation or Python?+

Yes. Every entry is written out as a rule with pseudo-code on its own page, and all 40 are stated exactly in Appendix C. Appendix D shows how to have an AI assistant write one in your own platform's language, and how to check what it writes before you trade it.

Do I need to be a coder?+

To read the book, no: each entry is stated as a rule in words and in pseudo-code. To run the tests yourself you need TradeStation or Python, or an AI assistant to translate. The code pack includes an install and run guide.

Will my results match the book's exactly?+

Close, but not to the cent, and the book says why. Data alone moves results: the session times, how a futures contract is back-adjusted, and which vendor's prices you use. The book prints the trade counts your code should reproduce, and the install guide shows how to check your numbers against the book's before you test anything new. The free price download in the code pack is not the book's own price file, so expect your counts to come close rather than match.

Does it work on markets other than SPY?+

The book tests it for you: on the Nasdaq 100, the Dow and the Russell 2000, 84% to 96% of entries beat drift. On gold, they fail. Everything is tested on daily bars.

Is it for me?

I already know RSI and Stochastics. Is there anything new?+

The entries may be familiar. The tests are not. Each one is measured against what a random entry held just as long already paid, cut into three equal periods, and checked against the other 39 for overlap. Six of the top 10 by rank failed the three-period test.

Is it for intraday trading?+

No. Everything is tested on daily bars, and the book claims nothing about shorter timeframes.

Results and expectations

Is this a complete trading system?+

No. You get tested entries and three example strategies, each an entry, a hold and, for one, a filter. The stop, the size and the portfolio are yours to decide, and the book shows you what to weigh.

Will these entries make me profitable?+

The book makes no such promise. Its results are historical and frictionless: no costs are deducted, and each results page shows the average trade that costs would eat. Historical backtest results are not a guarantee of future returns.

How were the results tested?+

The signal is read at the close and the trade buys the next open. Exits are fixed holds at 1, 2, 3, 4, 5, 10 and 20 bars. One position at a time, long only. Every SPY trade buys what $35,000 buys and every ES trade is one contract, so nothing compounds and the 40 are comparable.

How do I know the results aren't cherry-picked?+

All 40 entries are in the book, including the ones that failed. Every entry runs under the same rules and the same holding periods, and the book reports the ranking's own failure: six of the top 10 did not hold up across three equal periods.

Scope

Does it cover exits, position sizing and stops?+

It covers what an entry does not decide for you: the exit, the size, the risk per trade and the portfolio. It shows you what to weigh, and does not decide for you. The tests use fixed holds and fixed sizes so the entries stay comparable.

Is there a signal service or alerts?+

No. There are no alerts. You code the rules or you don't use them.

Trust

Who wrote it?+

Ali Casey, founder of StatOasis, a systematic trader since 1998. He also runs the Algo Trading Masterclass and writes the Overfit newsletter.

Buying and delivery

How do I get it after I pay?+

Straight away. After payment you land on a page with the download, and the link is also emailed to you. You can download again any time from that page or your email, and there is no limit on downloads.

Can I get a refund?+

No. All sales are final: the book and the code are available to download the moment you pay, so there are no refunds. Read the free RSI(2) entry and the pages above first, and buy only if the way the tests are run is a way you trust.

What if the code has a bug?+

Tell us through the contact page. A bug in the code is fixed free, and every buyer gets the fixed version as a free update.

Will I get updates?+

Yes. Every update and correction to the second edition is free.

Support and next steps

What if I have a question after reading?+

Send it through the contact page on this site.

Where do I go to learn more?+

StatOasis has a community and a course, the Algo Trading Masterclass, for the wider workflow: research, build, test, combine, deploy. The book is one piece of it.

The free study on the site walks through the ranking, the three-period stability test and the regime filter trap. The book adds every entry's own page, the futures and other markets in full, the three example strategies and the code. Read the free study.

Sixteen held up. Find out which.

The book, the evidence on all 40 entries, and the EasyLanguage and Python code, in one download licensed to you by name.

Get the full package for $147Read the RSI(2) full entry

All results on this page are hypothetical, from historical backtests, and are shown for education. Trading stocks, ETFs and futures involves risk, including the loss of more than you invest in futures. Nothing here is investment advice or a recommendation to buy or sell any security or futures contract, and StatOasis does not know your circumstances.

Hypothetical or simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. The results on this page and in the book deduct no commissions, slippage or other costs.

36 Ways to Buy the Dip, Second Edition

Get the book, $147

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