trend-followingmedium-high riskBacktest as of 2026-09-29

ADX Trend-Strength Strategy (Crypto)

Does an ADX trend-strength filter work on crypto perps? Backtested on real Hyperliquid perps from 2024-08-15 to 2026-09-29, the default settings earned a Sharpe of 0.85 — +81.6% total return with a 39.7% worst drawdown across 1,403 trades in 638 positions, net of fees, slippage, and funding.

By Keel Research Team · Data as of 2026-09-29 · how this backtest was produced
EquityDrawdown
Sharpe
0.85
default settings
Total return
+81.6%
Worst drawdown
−39.7%
Trades
1,403

2024-08-15 → 2026-09-29 · net of fees, slippage, and funding · price-only Sharpe 0.95 · these are the default settings, not a hand-picked best case.

At $1,000, this strategy’s worst historical dip was about $397. Free account, your own Hyperliquid keys. Keel only trades.

How it works

How it works

ADX measures how strong a trend is, regardless of its direction. This strategy only takes a position in a coin when its 14-period ADX is above 25 — the level that certifies a genuine trend with follow-through is running — and then goes long if the 10-period EMA is above the 30-period, cash otherwise. It runs every 4 hours across the top-15 Hyperliquid perpetuals, equal-weighted at 1x gross. The strength gate is the point: below it, crypto's constant chop turns any direction signal into noise, so the strategy simply stands aside.

When it works best

It profits during clean, sustained trends — stretches where a coin is genuinely moving and the EMA cross rides the leg. Filtering entries through the strength gate keeps the strategy out of the low-conviction ranges where fast crossovers would churn.

When it struggles

Whipsaws hurt most: when ADX flickers around the 25 line, entries and exits cluster and each entry and exit pays fees. It is long/flat only, so it captures none of the downside — in a prolonged bear it holds cash rather than profiting. Over the window it drew down 39.7% at its worst across 1,403 trades, placing it in the medium-high risk band.

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

Globalsconfig
target_timeframe4h
UniverseassetsTop by Volume · HL Perps · 15 assets15 resolved
Executionorders
rebalanceBufferedbuffer_threshold0.2buffer_moderelative+1

Factories

ema_crossfactory
Pipeline4 steps
PriceDataLoaderData Loader
Parallel2 branches
trend_strong
ADXIndicator
period14
AboveThresholdFilterSignal Transform
threshold25
trend_up
ema_crosscall
AboveThresholdFilterSignal Transform
threshold0
MaskAndSignal Composer
EqualWeightSizerPosition Sizer
target_leverage1max_weight0.2

Explore the settings

precomputed · updates instantly

Adjust a setting to see the exact backtested result, including the ones that lost money.

Complete 16-cell public cross-product on explicit resolved universes.

ADX trend gate
EMA direction preset
Signal timeframe
Sharpe
0.85
Return
81.6%
Worst DD
−39.7%
Trades
1,403

At $1,000, these settings' worst historical dip was about $397. You land in the editor with this exact setup. Free account, your own keys.

Compare all 16 settings
ADX trend gateEMA direction presetSignal timeframeSharpeReturnWorst DDTrades
1510/304h1.17186.3%−50.0%2,874
1510/301d1.20190.0%−40.9%525
1520/504h1.30235.0%−37.8%2,250
1520/501d1.45283.3%−40.5%367
2010/304h0.8793.8%−50.8%2,103
2010/301d1.12146.9%−40.4%362
2020/504h1.26197.6%−37.3%1,835
2020/501d1.47257.7%−30.4%307
2510/304hdefault0.8581.6%−39.7%1,403
2510/301d1.17140.4%−39.3%260
2520/504h1.04116.7%−29.3%1,284
2520/501d1.22149.9%−42.5%226
3010/304h1.40166.9%−25.3%999
3010/301d1.43178.4%−30.9%204
3020/504h1.51189.7%−23.2%958
3020/501d1.35150.9%−32.9%193

The data

Monthly returns

MonthReturn
2024-080.0%
2024-09+5.4%
2024-10-7.8%
2024-11+66.6%
2024-12-3.6%
2025-01-0.7%
2025-02-5.6%
2025-03-22.0%
2025-04+11.2%
2025-05+11.2%
2025-06-9.8%
2025-07+6.9%
2025-08+4.1%
2025-09+1.7%
2025-10+12.8%
2025-11-14.1%
2025-12-0.4%
2026-01+14.4%
2026-02-3.9%
2026-03-1.6%
2026-04+0.0%
2026-05+16.3%
2026-06-8.8%
2026-07-8.2%
2026-08+24.9%
2026-09+6.2%

Which assets it traded

Avg allocationDays held% of time heldAsset
0.1489111624BTC
0.1455109423.53SOL
0.1499105622.71LINK
0.1627104322.43VVV
0.1466103422.24SUI
0.1452100721.66ETH
0.1495100721.66XRP
0.143498321.14DOGE
0.139895820.6kPEPE
0.157693720.15HYPE
0.160879317.05ZEC
0.15275316.19PUMP
0.152558012.47XPL
0.15064299.23LIT
0.1062992.13GRAM

What this is: a historical backtest on real Hyperliquid market data, net of fees, slippage, and funding. Its worst historical drawdown was 39.7%. 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.

Questions

Common questions

Does an ADX trend-strength filter work on crypto perps?

Over 2024-08-15 → 2026-09-29 on real Hyperliquid perps, the default settings earned a Sharpe of 0.85 with +81.6% total return and a 39.7% worst drawdown across 1,403 trades, net of fees, slippage, and funding. Read the drawdown expectations before sizing your account.

Best ADX threshold for trading crypto trends

You can adjust ADX trend gate, EMA direction preset, Signal timeframe. The config explorer on this page lets you compare every setting we tested, including the ones that underperformed, with the exact backtested result for each.

The rule behind it, tested on its own

Related strategies

Which strategy did best on each coin →