Every systematic trader spends their days hunting for patterns. Reliable, repeatable patterns that show up often enough to build a strategy around. And among all the questions that keep traders up at night, here's a big one: Does buying the S&P 500 (SPY) and Nasdaq (QQQ) after they crash actually make sense?
We know the long-term story. Both indices climb over time. That's not up for debate. But we also know they've taken some truly savage beatings along the way. The 2008 financial meltdown. The COVID-19 panic in March 2020. The 2022 selloff after Russia invaded Ukraine. Anyone holding these indices through those periods watched their portfolio get hammered, often in a matter of weeks.
So here's the real question worth asking: Would you have been better off waiting for those major drops before jumping in? Could you have avoided the worst losses while still capturing the eventual recovery?
Starting Point: What Happens If You Just Hold
Let's turn this idea into something testable. We need rules, historical data, and a way to measure whether this approach has actually worked in the past. For this analysis, we're using data from Nasdaq futures (@NQ) and S&P 500 futures (@ES), covering the period from 2008 through today.
First step is establishing a baseline. What would have happened with a straightforward buy-and-hold approach? To simulate this, we enter a long position at the market open and hold it for exactly 10 consecutive trading sessions, then repeat the process continuously. This gives us a benchmark that looks a lot like traditional buy-and-hold, which we can compare against the more sophisticated strategies coming later. All of them will use the same 10-session holding period, keeping things apples-to-apples.
Strategy #1: The Baseline
input: n_bars(10);
if sessionlastbar then buy next bar market;
if barssinceentry > n_bars then setexitonclose;
Figure 1 shows the equity lines for this baseline strategy. Left chart is Nasdaq futures (@NQ), right chart is S&P 500 futures (@ES).
| Net Profit | Avg Trade | Nr. Trades | Max Drawdown | |
| @ES | $258,500.00 | $676.70 | 382 | -$71,687.50 |
| @NQ | $439,725.00 | $1,151.11 | 382 | -$125,765.00 |
The results are what you'd expect from markets that have climbed substantially over the past decade and a half. Just holding on would have generated serious profits. But look at that maximum drawdown. You would have had to stomach more than $71,000 in losses on the S&P 500 and nearly $126,000 on the Nasdaq during the worst periods. That's the price of admission for those gains.
Testing a Three-Day Pullback Filter
Now let's add a condition. Instead of buying all the time, we'll only enter the market after the daily closing price has dropped for three consecutive sessions. Once we're in, we exit after 10 sessions, same as before.
Strategy #2: Waiting for Three Down Days
input: n_bars(10);
if close < close[1] and close[1] < close[2] and close[2] < close[3] then buy next bar market;
if barssinceentry > n_bars then setexitonclose;
Figure 2 shows the equity lines using a 3-day pullback entry filter. Left chart is Nasdaq futures (@NQ), right chart is S&P 500 futures (@ES).
| Net Profit | Avg Trade | Nr. Trades | Max Drawdown | |
| @ES | $106,337.50 | $677.31 | 157 | -$60,037.50 |
| @NQ | $116,415.00 | $705.55 | 165 | -$126,235.00 |
This didn't help. The equity curves look choppier than the baseline, and the performance metrics tell a disappointing story. Net profit dropped significantly on both markets. The average trade value on the Nasdaq actually declined. Sure, the maximum drawdown improved slightly on the S&P 500, but the Nasdaq drawdown barely budged. Overall, this filter made things worse, not better.




