RSI dip-buying in an uptrend, backtested on crypto
Somewhat, but on too few trades to trust. Buying oversold RSI dips on coins still in an uptrend earned a Sharpe of 1.02, +33.7% total return and a 9.6% worst drawdown on Hyperliquid perps from 2024-08-15 to 2026-09-29, net of fees, slippage and funding. That ranks 12th of the 18 strategies in our library by Sharpe, and it comes from only 27 positions, so treat it as a hint, not proof.
2024-08-15 → 2026-09-29 · net of fees, slippage, and funding · price-only Sharpe 1.03 · only 27 positions, so treat the ratio as a small-sample estimate.
At $1,000, this strategy’s worst historical dip was about $96. Free account, your own Hyperliquid keys. Keel only trades.
How it works
How it works
Across the top-15 Hyperliquid perps, daily. Buy a coin when its 7-period RSI has dropped into oversold territory — at or below 30 — and is recovering, while price still holds above its 200-day trend line. Exit once RSI climbs back through 50. The RSI reading times a short-term washout, and the 200-day trend gate is what separates this from a naive "buy every RSI dip": entries only trigger on coins that are still in an uptrend, not ones in free fall. Positions are equal-weight and exposure stays light, since the setup only fires on genuine oversold recoveries.
When it works best
Uptrending majors that pause and shake out weak hands before continuing. Each oversold dip inside a healthy trend becomes a repeatable re-entry, and the trend filter cuts losers quickly when a dip keeps going.
When it struggles
Bear markets and choppy, trendless stretches: the 200-day gate keeps it mostly in cash during downtrends, so it sidesteps the worst damage but also sits out long periods with no trades. Widening the setup — trading intraday, adding more coins, or loosening the exit — consistently weakened it in testing, so the edge is narrow by design. With 32 trades over the window, the sample is modest; treat the headline as indicative rather than a promise.
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
Factories
Globals(target_timeframe="1d", bar_offset="12h")Universe(mode="top_volume", top_n=15, market="perp", resolved=["BTC", "DOGE", "ETH", "GRAM", "HYPE", "LINK", "LIT", "PUMP", "SOL", "SUI", "VVV", "XPL", "XRP", "ZEC", "kPEPE"], resolved_at="2026-07-06T20:51:00.585013+00:00")Execution(rebalance="on_change")trend_vs_200 = Pipeline([ { "px": [EWMA(window=2)], "trend": [EWMA(window=200)], }, Crossover(fast_key="px", slow_key="trend"),], name="trend_vs_200")Pipeline([ PriceDataLoader(), Store("ohlcv"), { "entry_setup": [ Pipeline([ { "oversold": [RSI(period=7), BelowThresholdFilter(threshold=30.0, inclusive=True)], "uptrend": [trend_vs_200, AboveThresholdFilter(threshold=0.0)], }, MaskAnd(), Store("rsi_entry"), ], name="entry_setup"), ], "exit_setup": [RSI(period=7), AboveThresholdFilter(threshold=50.0), Store("rsi_exit")], }, TradeManager(entries="rsi_entry", prices="ohlcv"), { "rsi_recovered": [Load("rsi_exit"), Exit()], }, Exposure(), EqualWeightSizer(target_leverage=1.0, max_weight=0.2),], name="rsi_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: small sample.
At $1,000, these settings' worst historical dip was about $96. You land in the editor with this exact setup. Free account, your own keys.
Compare all 12 settings
| RSI entry level | RSI recovery exit | Sharpe | Return | Worst DD | Trades |
|---|---|---|---|---|---|
| 25 | 45 | 1.26 | 26.3% | −5.7% | 14 |
| 25 | 50 | 1.19 | 33.9% | −9.5% | 14 |
| 25 | 55 | 0.88 | 27.0% | −12.4% | 14 |
| 25 | 65 | 0.33 | 9.3% | −21.5% | 11 |
| 30 | 45 | 1.25 | 31.6% | −7.3% | 34 |
| 30 | 50default | 1.02 | 33.7% | −9.6% | 32 |
| 30 | 55 | 0.92 | 33.6% | −11.9% | 32 |
| 30 | 65 | 0.34 | 11.0% | −24.4% | 29 |
| 35 | 45 | 1.46 | 58.7% | −8.7% | 88 |
| 35 | 50 | 1.35 | 62.6% | −10.4% | 77 |
| 35 | 55 | 1.11 | 61.9% | −23.3% | 74 |
| 35 | 65 | 0.56 | 29.7% | −31.5% | 70 |
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 | 0.0% |
| 2025-02 | 0.0% |
| 2025-03 | +0.0% |
| 2025-04 | -0.0% |
| 2025-05 | -0.7% |
| 2025-06 | +2.9% |
| 2025-07 | +0.6% |
| 2025-08 | +3.6% |
| 2025-09 | -0.9% |
| 2025-10 | +7.2% |
| 2025-11 | +1.4% |
| 2025-12 | 0.0% |
| 2026-01 | 0.0% |
| 2026-02 | 0.0% |
| 2026-03 | 0.0% |
| 2026-04 | 0.0% |
| 2026-05 | 0.0% |
| 2026-06 | +16.0% |
| 2026-07 | -0.3% |
| 2026-08 | +0.7% |
| 2026-09 | 0.0% |
Which assets it traded
| Avg allocation | Days held | % of time held | Asset |
|---|---|---|---|
| 0.1948 | 50 | 6.45 | HYPE |
| 0.1937 | 36 | 4.65 | BTC |
| 0.1916 | 31 | 4 | ETH |
| 0.1899 | 26 | 3.35 | SOL |
| 0.1895 | 25 | 3.23 | XRP |
| 0.1854 | 18 | 2.32 | LINK |
| 0.2 | 11 | 1.42 | VVV |
| 0.2 | 10 | 1.29 | ZEC |
| 0.2 | 9 | 1.16 | SUI |
| 0.2 | 9 | 1.16 | kPEPE |
| 0.1476 | 5 | 0.65 | DOGE |
| 0 | 0 | 0 | GRAM |
| 0 | 0 | 0 | LIT |
| 0 | 0 | 0 | PUMP |
| 0 | 0 | 0 | XPL |
What this is: a historical backtest on real Hyperliquid market data, net of fees, slippage, and funding. Its worst historical drawdown was 9.6%. 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.