Breakout Forecast on Crypto (Carver's Rule)
Does Robert Carver's breakout rule work on crypto? Backtested on real Hyperliquid perps from 2024-08-15 to 2026-12-01, the default settings earned a Sharpe of 0.67 — +42.8% total return with a 24.4% worst drawdown across 3,262 trades in 284 positions, net of fees, slippage, and funding.
2024-08-15 → 2026-12-01 · net of fees, slippage, and funding · price-only Sharpe 0.71 · these are the default settings, not a hand-picked best case.
At $1,000, this strategy’s worst historical dip was about $244. Free account, your own Hyperliquid keys. Keel only trades.
How it works
For each coin the strategy looks at the highest and lowest price of the last 40 days and asks where today's price sits between them. Above the middle of the range is a long reading and below it is a short one, larger the nearer the price is to the edge. The reading is smoothed over 10 days, a quarter of the look-back, so the position builds as a breakout holds and does not flip on one day's move. It is then scaled to a typical size of 10 and capped at 20 either way. That number is the forecast.
The position follows the forecast. A forecast of +10 buys the coin at a size that gives the position the target volatility, +20 buys twice that, and negative forecasts go short the same way. The account is spread equally across the coins and scaled up because they do not all move together. A position is traded only when it has drifted more than a tenth from its target, and then only back to the edge of that band.
Unlike a classic breakout system, nothing here is all in or all out. The position grows as the price moves toward the top of its range and shrinks as it falls back.
The settings grid runs horizons of 10, 20, 40, 80 and 160 days.
Where the rule comes from
The breakout rule is in Robert Carver's Advanced Futures Trading Strategies (Harriman House, 2023): the price's place in its rolling range, smoothed over a quarter of the horizon, at horizons from 10 to 320 days. Keel built this version from its own public components. It is our reading of the published rule and is not affiliated with or endorsed by the author.
What differs from the book
- The book divides the distance from the middle of the range by the width of the range. This version measures the distance on a volatility-adjusted price series, so the reading is in units of volatility.
- The 320-day horizon is left out because the data starts in August 2024.
- Forecast scales are estimated from the coins over a rolling 90 days, not taken from the book's table.
- The book's trading buffer is a tenth of the average position. Here it is a tenth of the current target.
- Perps trade in fractions, so there is no rounding to whole contracts.
- Total exposure is capped at twice the account.
- The coins are the most traded Hyperliquid perps on a fixed date, picked with hindsight. The coin list shows the date.
- The data starts in August 2024, a much shorter history than the decades of futures prices the book tests on.
When it tends to work
When a coin leaves its recent range and keeps going. Short horizons catch moves early and trade more. Long horizons wait for a bigger move and trade less.
When it tends to struggle
Markets that break a range and fall straight back. The smoothing softens this, and it also means the strategy gives back part of a move before it gets out.
How it’s built
The exact strategy behind this backtest, with no black box. Fork it to change it and run your own backtest.
Configuration
Globals(target_timeframe="1d")Universe(mode="manual", symbols=["BTC", "ETH", "HYPE", "ZEC", "SOL", "NEAR", "XRP", "PUMP", "LIT", "ENA", "XMR", "UNI", "PONS", "kPEPE", "WLD", "VVV", "SUI", "XPL", "ARB", "TAO"], market="perp", resolved=["BTC", "ETH", "HYPE", "ZEC", "SOL", "NEAR", "XRP", "PUMP", "LIT", "ENA", "XMR", "UNI", "PONS", "kPEPE", "WLD", "VVV", "SUI", "XPL", "ARB", "TAO"], resolved_at="2026-12-01T00:00:00Z")Execution(rebalance="buffered", buffer_threshold=0.1, buffer_mode="relative", rebalance_method="to_edge")Pipeline([ PriceDataLoader(), Store("ohlcv"), {"return_vol": [Load("ohlcv"), ReturnVolatility(window="36d"), Store("return_vol")]}, Load("ohlcv"), VolatilityAdjustedPriceSeries(vol_span=32), BreakoutDistance(lookback=40), EWMATransform(window=10), ForecastScaler(avg_abs_target=10.0), ForecastCapper(limit=20.0), Store("forecast"), VolTargetWeightConverter(return_vol_slot="return_vol", pct_target=0.25), IDMPortfolioAggregator(forecast_slot="forecast", return_vol_slot="return_vol", ohlcv_slot="ohlcv", target_vol=0.25), LeverageCap(max_leverage=2.0),], name="carver_breakout_crypto")Explore the settings
precomputed · updates instantlyAdjust a setting to see the exact backtested result, including the ones that lost money.
Complete 15-cell public cross-product on explicit resolved universes.
Heads up: weaker risk-adjusted return.
At $1,000, these settings' worst historical dip was about $244. You land in the editor with this exact setup. Free account, your own keys.
Compare all 15 settings
| Breakout horizon (days) | Coins | Sharpe | Return | Worst DD | Trades |
|---|---|---|---|---|---|
| 10 | 3 majors | 0.58 | 37.3% | −28.7% | 881 |
| 10 | top10_dec2026 | 0.40 | 19.5% | −29.4% | 2,539 |
| 10 | top20_dec2026 | 0.36 | 15.9% | −30.5% | 4,853 |
| 20 | 3 majors | 0.74 | 53.7% | −33.4% | 689 |
| 20 | top10_dec2026 | 0.47 | 25.0% | −35.5% | 2,081 |
| 20 | top20_dec2026 | 0.34 | 14.4% | −31.4% | 3,995 |
| 40 | 3 majors | 0.97 | 80.5% | −17.9% | 580 |
| 40 | top10_dec2026 | 0.82 | 59.9% | −22.0% | 1,702 |
| 40 | top20_dec2026default | 0.67 | 42.8% | −24.4% | 3,262 |
| 80 | 3 majors | -0.08 | -11.0% | −26.4% | 545 |
| 80 | top10_dec2026 | 0.05 | -4.3% | −18.8% | 1,459 |
| 80 | top20_dec2026 | -0.12 | -13.4% | −27.1% | 2,691 |
| 160 | 3 majors | -0.35 | -26.9% | −36.8% | 438 |
| 160 | top10_dec2026 | -0.22 | -18.4% | −26.4% | 1,084 |
| 160 | top20_dec2026 | -0.50 | -29.5% | −32.5% | 2,070 |
The data
Monthly returns
| Month | Return |
|---|---|
| 2024-08 | 0.0% |
| 2024-09 | 0.0% |
| 2024-10 | 0.0% |
| 2024-11 | 0.0% |
| 2024-12 | -0.0% |
| 2025-01 | -1.0% |
| 2025-02 | +10.0% |
| 2025-03 | +1.7% |
| 2025-04 | -3.5% |
| 2025-05 | -0.4% |
| 2025-06 | -2.9% |
| 2025-07 | +3.3% |
| 2025-08 | -2.9% |
| 2025-09 | -5.3% |
| 2025-10 | -2.4% |
| 2025-11 | +7.5% |
| 2025-12 | +2.5% |
| 2026-01 | -5.1% |
| 2026-02 | +9.2% |
| 2026-03 | -4.0% |
| 2026-04 | -4.5% |
| 2026-05 | +1.8% |
| 2026-06 | +9.2% |
| 2026-07 | -4.9% |
| 2026-08 | -1.4% |
| 2026-09 | +27.3% |
| 2026-10 | -6.2% |
| 2026-11 | +16.4% |
| 2026-12 | -1.5% |
Which assets it traded
| Avg allocation | Days held | % of time held | Asset |
|---|---|---|---|
| -0.0126 | 704 | 84.01 | ARB |
| -0.0027 | 704 | 84.01 | BTC |
| -0.0079 | 704 | 84.01 | ENA |
| -0.0057 | 704 | 84.01 | ETH |
| -0.0054 | 704 | 84.01 | NEAR |
| -0.0069 | 704 | 84.01 | SOL |
| -0.0093 | 704 | 84.01 | SUI |
| -0.0066 | 704 | 84.01 | TAO |
| -0.0073 | 704 | 84.01 | UNI |
| -0.0104 | 704 | 84.01 | WLD |
| -0.0119 | 704 | 84.01 | XRP |
| -0.0084 | 704 | 84.01 | kPEPE |
| 0.0081 | 653 | 77.92 | HYPE |
| 0.0019 | 599 | 71.48 | VVV |
| -0.0031 | 436 | 52.03 | PUMP |
| -0.0098 | 393 | 46.9 | XPL |
| 0.0039 | 362 | 43.2 | ZEC |
| 0.0047 | 271 | 32.34 | LIT |
| 0.0245 | 258 | 30.79 | XMR |
| -0.0254 | 19 | 2.27 | PONS |
What this is: a historical backtest on real Hyperliquid market data, net of fees, slippage, and funding. Its worst historical drawdown was 24.4%. Expect drawdowns of that order or worse. Past performance does not predict future results, and this is not investment advice. Size your account so a full drawdown is survivable.