Trend, Carry and Breakout Blend on Crypto (Carver's Rules)
Does combining trend, carry and breakout beat one rule on crypto? Backtested on real Hyperliquid perps from 2024-08-15 to 2026-12-01, the default settings earned a Sharpe of 0.72 — +50.9% total return with a 24.2% worst drawdown across 3,216 trades in 375 positions, net of fees, slippage, and funding.
2024-08-15 → 2026-12-01 · net of fees, slippage, and funding · price-only Sharpe 0.70 · these are the default settings, not a hand-picked best case.
At $1,000, this strategy’s worst historical dip was about $242. Free account, your own Hyperliquid keys. Keel only trades.
How it works
The strategy makes four kinds of forecast for each coin and combines them into one.
- Trend: the EWMAC rule at three speeds (4 and 16 days, 8 and 32, 16 and 64). Each compares a fast and a slow exponentially weighted moving average of the daily close and divides the gap by the coin's price volatility.
- Carry: the coin's funding rate with its sign flipped, smoothed over 20 days and over 60 days and divided by the coin's volatility. Cheap or negative funding gives a long forecast and expensive funding gives a short one.
- Breakout: where the price sits inside its range of the last 40 days, smoothed over 10 days.
- Acceleration: the 16 and 64 day trend reading today minus the same reading 16 days ago. It is long when a trend is getting stronger and short when it is fading.
Every forecast is scaled to a typical size of 10 and capped at 20. Each of the four rules gets a quarter of the weight, shared equally among its own forecasts. Because the rules often disagree, their weighted average is smaller than any one of them, so it is scaled back up by a diversification multiplier and capped at 20 again.
The position follows the combined 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.
Each rule is built the same way as on its own page in this library: the trend system, trend plus carry, the breakout forecast and trend acceleration.
The settings grid adds one rule at a time: trend alone, then trend and carry, then breakout, then all four. Each step shows what the added rule changed.
Where the rule comes from
Robert Carver's Advanced Futures Trading Strategies (Harriman House, 2023) describes each of the four rules and the method used here to combine them: a weight for each forecast and a diversification multiplier. Equal weights across the four rules are our choice. Trading with several opening methods at once is also an idea in his The Art and Science of Trading (Harriman House, 2026); nothing from that book is used here, because its settings are not public. Keel built this version from its own public components. It is our reading of the published rules and is not affiliated with or endorsed by the author.
What differs from the book
- The weights are ours: an equal share for each of the four rules. The book's own weights were not checked.
- In futures, carry comes from the gap between contract prices. A perp has no expiry, so this version uses the funding rate as the carry.
- The book smooths carry over four spans. This version uses two, 20 and 60 days. The trend side runs three speeds, not six, because the data starts in August 2024. Breakout and acceleration each run at one setting.
- The book divides the breakout distance by the width of the range. This version measures the distance on a volatility-adjusted price series.
- 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 the rules earn at different times: trend and breakout in long moves, carry in flat markets where funding stays one-sided, acceleration at the start and the end of a move. No single rule then has to be right for the account to hold a position.
When it tends to struggle
When the rules disagree for long stretches. The combined forecast is then small, and the strategy holds little through a large move. A rule that loses on its own also drags the combination, because every rule gets an equal share whatever it has earned.
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")]}, { "ewmac_4_16": [ Load("ohlcv"), {"fast": [EWMA(window=4)], "slow": [EWMA(window=16)]}, Crossover(fast_key="fast", slow_key="slow"), VolatilityStandardizer(signal_type="price_points", ohlcv_slot="ohlcv"), ForecastScaler(avg_abs_target=10.0), ForecastCapper(limit=20.0), ], "ewmac_8_32": [ Load("ohlcv"), {"fast": [EWMA(window=8)], "slow": [EWMA(window=32)]}, Crossover(fast_key="fast", slow_key="slow"), VolatilityStandardizer(signal_type="price_points", ohlcv_slot="ohlcv"), ForecastScaler(avg_abs_target=10.0), ForecastCapper(limit=20.0), ], "ewmac_16_64": [ Load("ohlcv"), {"fast": [EWMA(window=16)], "slow": [EWMA(window=64)]}, Crossover(fast_key="fast", slow_key="slow"), VolatilityStandardizer(signal_type="price_points", ohlcv_slot="ohlcv"), ForecastScaler(avg_abs_target=10.0), ForecastCapper(limit=20.0), ], "carry_20": [ FundingDataLoader(), NegateTransform(), EWMATransform(window=20), VolatilityStandardizer(signal_type="percentage", ohlcv_slot="ohlcv"), ForecastScaler(avg_abs_target=10.0), ForecastCapper(limit=20.0), ], "carry_60": [ FundingDataLoader(), NegateTransform(), EWMATransform(window=60), VolatilityStandardizer(signal_type="percentage", ohlcv_slot="ohlcv"), ForecastScaler(avg_abs_target=10.0), ForecastCapper(limit=20.0), ], "breakout_40": [ Load("ohlcv"), VolatilityAdjustedPriceSeries(vol_span=32), BreakoutDistance(lookback=40), EWMATransform(window=10), ForecastScaler(avg_abs_target=10.0), ForecastCapper(limit=20.0), ], "accel_16": [ Load("ohlcv"), {"fast": [EWMA(window=16)], "slow": [EWMA(window=64)]}, Crossover(fast_key="fast", slow_key="slow"), VolatilityStandardizer(signal_type="price_points", ohlcv_slot="ohlcv"), Difference(period=16), ForecastScaler(avg_abs_target=10.0), ForecastCapper(limit=20.0), ], }, AnalyticalFDMCombiner(weights={"ewmac_4_16": 0.0833, "ewmac_8_32": 0.0833, "ewmac_16_64": 0.0834, "carry_20": 0.125, "carry_60": 0.125, "breakout_40": 0.25, "accel_16": 0.25}, correlation_window="90d"), 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_combined_forecasts_crypto")Explore the settings
precomputed · updates instantlyAdjust a setting to see the exact backtested result, including the ones that lost money.
Complete 12-cell public cross-product on explicit resolved universes.
Heads up: weaker risk-adjusted return.
At $1,000, these settings' worst historical dip was about $242. You land in the editor with this exact setup. Free account, your own keys.
Compare all 12 settings
| Rules combined | Coins | Sharpe | Return | Worst DD | Trades |
|---|---|---|---|---|---|
| Trend | 3 majors | 0.72 | 51.4% | −26.2% | 616 |
| Trend | top10_dec2026 | 0.40 | 18.7% | −28.6% | 1,817 |
| Trend | top20_dec2026 | 0.34 | 14.4% | −32.2% | 3,440 |
| trend-carry | 3 majors | 0.76 | 49.7% | −25.8% | 566 |
| trend-carry | top10_dec2026 | 0.07 | -4.4% | −34.1% | 1,674 |
| trend-carry | top20_dec2026 | 0.36 | 15.6% | −32.1% | 3,032 |
| trend-carry-breakout | 3 majors | 0.91 | 74.7% | −23.8% | 571 |
| trend-carry-breakout | top10_dec2026 | 0.45 | 22.7% | −26.0% | 1,662 |
| trend-carry-breakout | top20_dec2026 | 0.58 | 35.8% | −29.9% | 3,166 |
| all-four | 3 majors | 1.00 | 87.0% | −21.2% | 588 |
| all-four | top10_dec2026 | 0.57 | 32.9% | −20.8% | 1,735 |
| all-four | top20_dec2026default | 0.72 | 50.9% | −24.2% | 3,216 |
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.6% |
| 2025-02 | +18.7% |
| 2025-03 | -3.5% |
| 2025-04 | -1.1% |
| 2025-05 | +3.8% |
| 2025-06 | -4.8% |
| 2025-07 | +1.5% |
| 2025-08 | -5.7% |
| 2025-09 | -6.3% |
| 2025-10 | +1.5% |
| 2025-11 | +6.5% |
| 2025-12 | +2.9% |
| 2026-01 | -4.4% |
| 2026-02 | +11.1% |
| 2026-03 | -1.6% |
| 2026-04 | -4.9% |
| 2026-05 | +1.7% |
| 2026-06 | +12.1% |
| 2026-07 | -5.1% |
| 2026-08 | -9.0% |
| 2026-09 | +12.3% |
| 2026-10 | -1.0% |
| 2026-11 | +29.2% |
| 2026-12 | -2.1% |
Which assets it traded
| Avg allocation | Days held | % of time held | Asset |
|---|---|---|---|
| -0.0171 | 689 | 82.22 | ARB |
| -0.0392 | 689 | 82.22 | BTC |
| -0.0112 | 689 | 82.22 | ENA |
| -0.0245 | 689 | 82.22 | ETH |
| -0.0169 | 689 | 82.22 | NEAR |
| -0.0132 | 689 | 82.22 | SOL |
| -0.0189 | 689 | 82.22 | SUI |
| -0.0181 | 689 | 82.22 | TAO |
| -0.0181 | 689 | 82.22 | UNI |
| -0.0147 | 689 | 82.22 | WLD |
| -0.0249 | 689 | 82.22 | XRP |
| -0.0166 | 689 | 82.22 | kPEPE |
| -0.011 | 647 | 77.21 | HYPE |
| 0.0005 | 593 | 70.76 | VVV |
| -0.0114 | 430 | 51.31 | PUMP |
| -0.0175 | 387 | 46.18 | XPL |
| -0.0028 | 356 | 42.48 | ZEC |
| -0.0044 | 265 | 31.62 | LIT |
| -0.0053 | 252 | 30.07 | XMR |
| -0.0274 | 13 | 1.55 | PONS |
What this is: a historical backtest on real Hyperliquid market data, net of fees, slippage, and funding. Its worst historical drawdown was 24.2%. 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.