Trend Following System on Crypto (Carver's Rules)
Does a Robert Carver style trend following system work on crypto? Backtested on real Hyperliquid perps from 2024-08-15 to 2026-12-01, the default settings earned a Sharpe of 0.31 — +11.8% total return with a 32.4% worst drawdown across 3,554 trades in 515 positions, net of fees, slippage, and funding.
2024-08-15 → 2026-12-01 · net of fees, slippage, and funding · price-only Sharpe 0.35 · these are the default settings, not a hand-picked best case.
At $1,000, this strategy’s worst historical dip was about $324. Free account, your own Hyperliquid keys. Keel only trades.
How it works
For each coin the strategy runs the EWMAC trend rule at three speeds: 4 and 16 days, 8 and 32 days, and 16 and 64 days. Each speed compares a fast and a slow exponentially weighted moving average of the daily close, divides the gap by the coin's price volatility, and scales it into a forecast with a typical size of 10 and a cap of 20. The three forecasts are averaged with equal weights. Because the three speeds often disagree, their 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 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.
The settings grid changes the two things the framework leaves to the trader: how much risk to run, and how wide the trading buffer is.
Where the rule comes from
The parts are from Robert Carver's Systematic Trading (Harriman House, 2015): several speeds of one trend rule combined into a single forecast, a forecast diversification multiplier, a volatility target for the whole account, an instrument diversification multiplier and a trading buffer. 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 runs six speeds. This version runs the three in the middle, because the two slowest need months of data to warm up and the data starts in August 2024, and the fastest trades too often for its costs.
- Forecast scales are estimated from the coins over a rolling 90 days, not taken from the book's table.
- The book leaves a position alone until its target has moved more than a tenth away, then trades to the target. His later writing trades only to the edge of a band a tenth of the average position wide. Here the band is a tenth of the current target, traded to its edge.
- 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
Markets that trend for weeks to months. Running several speeds means the system does not depend on one look-back being right.
When it tends to struggle
Choppy markets with no direction, where all three speeds give small, changing forecasts. A higher risk target does not fix that: it scales gains and losses together.
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), ], }, AnalyticalFDMCombiner(weights={"ewmac_4_16": 0.3333, "ewmac_8_32": 0.3333, "ewmac_16_64": 0.3334}, 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_trend_system_crypto")Explore the settings
precomputed · updates instantlyAdjust a setting to see the exact backtested result, including the ones that lost money.
Complete 24-cell public cross-product on explicit resolved universes.
Heads up: weaker risk-adjusted return.
At $1,000, these settings' worst historical dip was about $324. You land in the editor with this exact setup. Free account, your own keys.
Compare all 24 settings
| Volatility target | Trading buffer | Coins | Sharpe | Return | Worst DD | Trades |
|---|---|---|---|---|---|---|
| 0.1 | 0 | top10_dec2026 | 0.33 | 8.5% | −12.7% | 2,748 |
| 0.1 | 0 | top20_dec2026 | 0.26 | 6.1% | −14.9% | 5,244 |
| 0.1 | 0.1 | top10_dec2026 | 0.35 | 9.0% | −12.4% | 1,878 |
| 0.1 | 0.1 | top20_dec2026 | 0.31 | 7.6% | −14.3% | 3,525 |
| 0.1 | 0.2 | top10_dec2026 | 0.37 | 9.0% | −11.5% | 1,468 |
| 0.1 | 0.2 | top20_dec2026 | 0.34 | 8.0% | −13.4% | 2,717 |
| 0.1 | 0.3 | top10_dec2026 | 0.39 | 8.9% | −10.5% | 1,185 |
| 0.1 | 0.3 | top20_dec2026 | 0.34 | 7.5% | −12.5% | 2,235 |
| 0.25 | 0 | top10_dec2026 | 0.33 | 13.0% | −29.8% | 2,762 |
| 0.25 | 0 | top20_dec2026 | 0.25 | 6.8% | −33.9% | 5,264 |
| 0.25 | 0.1 | top10_dec2026 | 0.36 | 15.7% | −28.8% | 1,881 |
| 0.25 | 0.1 | top20_dec2026default | 0.31 | 11.8% | −32.4% | 3,554 |
| 0.25 | 0.2 | top10_dec2026 | 0.38 | 17.3% | −26.9% | 1,484 |
| 0.25 | 0.2 | top20_dec2026 | 0.35 | 14.5% | −30.5% | 2,749 |
| 0.25 | 0.3 | top10_dec2026 | 0.40 | 18.1% | −25.2% | 1,193 |
| 0.25 | 0.3 | top20_dec2026 | 0.35 | 14.5% | −28.6% | 2,250 |
| 0.5 | 0 | top10_dec2026 | 0.31 | -4.9% | −57.1% | 2,787 |
| 0.5 | 0 | top20_dec2026 | 0.24 | -14.2% | −60.3% | 5,308 |
| 0.5 | 0.1 | top10_dec2026 | 0.35 | 4.2% | −53.2% | 1,914 |
| 0.5 | 0.1 | top20_dec2026 | 0.30 | -2.5% | −57.8% | 3,645 |
| 0.5 | 0.2 | top10_dec2026 | 0.38 | 12.2% | −50.6% | 1,500 |
| 0.5 | 0.2 | top20_dec2026 | 0.36 | 8.8% | −54.6% | 2,827 |
| 0.5 | 0.3 | top10_dec2026 | 0.41 | 18.5% | −47.3% | 1,199 |
| 0.5 | 0.3 | top20_dec2026 | 0.37 | 13.2% | −51.6% | 2,286 |
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 | -6.7% |
| 2025-02 | +13.7% |
| 2025-03 | -1.4% |
| 2025-04 | -2.8% |
| 2025-05 | -2.5% |
| 2025-06 | -6.6% |
| 2025-07 | +5.5% |
| 2025-08 | -6.8% |
| 2025-09 | -4.8% |
| 2025-10 | -5.2% |
| 2025-11 | +6.4% |
| 2025-12 | +1.9% |
| 2026-01 | -4.3% |
| 2026-02 | +10.4% |
| 2026-03 | -1.7% |
| 2026-04 | -6.1% |
| 2026-05 | +0.8% |
| 2026-06 | +5.6% |
| 2026-07 | -5.2% |
| 2026-08 | -0.1% |
| 2026-09 | +15.4% |
| 2026-10 | -5.6% |
| 2026-11 | +19.6% |
| 2026-12 | -2.0% |
Which assets it traded
| Avg allocation | Days held | % of time held | Asset |
|---|---|---|---|
| -0.0208 | 705 | 84.13 | ARB |
| 0.002 | 705 | 84.13 | BTC |
| -0.0137 | 705 | 84.13 | ENA |
| -0.0101 | 705 | 84.13 | ETH |
| -0.0112 | 705 | 84.13 | NEAR |
| -0.0092 | 705 | 84.13 | SOL |
| -0.0167 | 705 | 84.13 | SUI |
| -0.013 | 705 | 84.13 | TAO |
| -0.0108 | 705 | 84.13 | UNI |
| -0.0172 | 705 | 84.13 | WLD |
| -0.0165 | 705 | 84.13 | XRP |
| -0.0145 | 705 | 84.13 | kPEPE |
| 0.0041 | 663 | 79.12 | HYPE |
| -0.0043 | 609 | 72.67 | VVV |
| -0.0059 | 446 | 53.22 | PUMP |
| -0.0161 | 403 | 48.09 | XPL |
| 0.0016 | 372 | 44.39 | ZEC |
| -0.0012 | 281 | 33.53 | LIT |
| 0.0219 | 268 | 31.98 | XMR |
| -0.0275 | 29 | 3.46 | PONS |
What this is: a historical backtest on real Hyperliquid market data, net of fees, slippage, and funding. Its worst historical drawdown was 32.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.