An AlphaPilot user took one of the oldest ideas in trading and applied it to the Sandisk perpetual (xyz:SNDK-USDC-PERP) on daily bars. The idea is simple: buy when price closes at a new high. The strategy has three factors, two rules and 14 trades. This page shows how it works, how it did, and what to try next.
How it works
The strategy checks one daily bar at a time. It is long only, uses 1x leverage and puts all of its equity into each trade.
- Breakout. Today's close is above the highest high of the previous 20 days.
- Trend filter. Today's close is also above the 50-day average close.
- Exit. Sell everything when the close falls below the lowest low of the previous 10 days.
When the strategy is flat and both entry conditions hold, it buys. When it is long, it ignores everything except the exit rule. It has no profit target and no fixed stop. The 10-day low acts as a trailing stop that rises as the trend rises.
Buy when:
Sell when:
Here C is the close, H is the high and L is the low. Both channels skip today's bar, so a breakout means beating the past, not beating itself.
Traders will know these windows. Twenty days to enter and ten days to exit is the classic "System 1" of the Turtle traders. The 50-day filter is the user's own addition. It blocks breakouts that happen inside a falling market.
Backtest results
The test ran from 13 February 2025 to 16 October 2026 on daily bars. It started with $10,000, used 1x leverage and charged 0.03% friction per trade.
+1,374.59%
Annual return
+399.05%
2.38
Max drawdown
38.11%
| Total return | +1,374.6% ($10,000 → about $147,500) |
| Annual return | +399.1% |
| Sharpe ratio | 2.38 |
| Max drawdown | −38.1% |
| Buy-and-hold SNDK | +3,509.2% |
| Trades | 14 |
| Average long exposure | 61% |
| Fees | −2.8% (funding: 0.0%) |
The result is strong on its own. The strategy multiplied its capital by about 14.7 with a Sharpe ratio of 2.38. At month-end, equity peaked near $213,000 at the end of June 2026. Three of the last four months then lost money. That stretch is where the 38% drawdown came from.
One fact matters more than the headline number: simply holding SNDK returned +3,509%, more than twice as much. Sandisk had a huge rally over this period. A strategy that sits in cash 39% of the time will lag in a rally like that. The next section explains why, and the improvements below test ways to close part of the gap.
Why it works
1. Big repricings take weeks, not days
A close above a 20-day high shows that buyers paid more than at any time in the past month. When the market is repricing a stock, that pressure usually lasts. The breakout rule cannot predict the move. It joins a move that has already started and stays in while the move continues.
2. Small losses, rare huge winners
The rising 10-day low limits how much any single trade can give back. Winning trades have no cap. That asymmetry is the whole engine of the strategy. The best month made +113.9%. The worst month lost −23.8%. Just four months produced nearly all of the growth.
3. The filter keeps it out of dead markets
The strategy was in cash for three whole months and held a position only 61% of the time on average. The 50-day filter and the demand for a fresh high keep it out of choppy, falling stretches. Fees came to only 2.8% across 14 trades.
Why it lagged buy-and-hold
The same exit rule that protects capital also costs money in a strong rally. In a volatile uptrend, a normal pullback can break the 10-day low. The strategy then has to wait for a new 20-day high before it buys again, so it re-enters above the price where it sold.
On an asset that rose about 36 times, every day in cash and every re-entry gap is expensive. On an asset that rises and then crashes, the same rules would likely protect you. Keep that in mind when you read these results. This is one instrument and one powerful bull market, and 14 trades is a small sample.
Ideas to improve it
1. Give the trend more room: exit on the 20-day low
The analysis above points at the exit. A slower exit, below the lowest low of the previous 20 days, should survive more shakeouts and shrink the re-entry gap. The likely cost is a bigger give-back when a trend really ends. The backtest will show which effect is larger.
2. Size by volatility to tame the drawdown
Every trade currently uses 100% of equity, even when SNDK swings 8% a day. This version scales the position down when recent volatility is high and back up when it calms. The goal is to cut the 38% drawdown and possibly improve the Sharpe ratio, even if the headline return falls.
Make it yours
This whole strategy fits in three factors and a dozen lines of logic. Try other channel lengths, another instrument or a different trend filter, or add a short side for downtrends. Describe your idea to AlphaPilot, and you will have a backtest of your own in minutes.