mean-reversionlow risk

Stochastic Oversold-Reversal (Crypto)

Does a stochastic oscillator strategy work on crypto? Backtested on real Hyperliquid perps from 2024-08-15 to 2026-07-05, the default settings earned a Sharpe of 1.3 — +67.1% total return with a 16.1% worst drawdown across 322 trades, net of fees, slippage, and funding.

By Keel Research · Data as of 2026-07-05 · how this backtest was produced
EquityDrawdown
Sharpe
1.30
default settings
Total return
+67.1%
Worst drawdown
−16.1%
Trades
322

2024-08-152026-07-05 · net of fees, slippage, and funding · price-only Sharpe 1.34 · these are the default settings, not a hand-picked best case.

At $1,000, this strategy’s worst historical dip was about $161. 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 slow stochastic oscillator (10-period %K) is deep in oversold territory — below 20 — and turning back up, while price still holds above its 200-day trend line. The oscillator times the entry, catching a short-term washout inside a healthy trend, and the 200-day gate keeps the setup pointed with the larger trend rather than trying to catch falling knives. Positions are equal-weight, and a coin is released as its oscillator climbs back through the overbought band at 80. Because entries only fire on genuine oversold turns, the book spends much of its time lightly invested.

When it works best

Choppy pullbacks inside broad uptrends — the conditions the oscillator was built for. When liquid majors are grinding higher but regularly dip and recover, each oversold turn is a repeatable, low-risk re-entry, and the trend gate keeps losers short.

When it struggles

Sustained downtrends: the 200-day gate keeps it out of most bear damage, but that also means long flat stretches with no trades and no participation in the first leg of a recovery. Sharp V-shaped bottoms can turn back up before the oscillator confirms. And with 322 trades over the window, the sample is moderate — treat the headline as indicative rather than a guarantee.

How it’s built

The exact strategy behind this backtest — no black box. Switch to code to see or copy the full definition.

Configuration

Globalsconfig
target_timeframe1dbar_offset12h
UniverseassetsTop by Volume · HL Perps · 15 assets
Executiontrading
rebalanceEvery Bar

Factories

trend_vs_200factory
Pipeline5 steps
PriceDataLoaderData Loader
timeframe15min
TargetTimeframeResamplerData Transform
Parallel2 branches
entry_setup
Parallel2 branches
oversold
StochasticIndicator
k_period10d_period3slowk_period3
BelowThresholdFilterSignal Transform
threshold20inclusivetrue
uptrend
trend_vs_200call
AboveThresholdFilterSignal Transform
threshold0
MaskAndSignal Composer
stoch_entrystore
exit_setup
StochasticIndicator
k_period10d_period3slowk_period3
AboveThresholdFilterSignal Transform
threshold80
stoch_exitstore
PositionStateMachinePosition Manager
entry_slotstoch_entryexit_slotstoch_exit
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.

%K lookback period
topn
Oversold / overbought levels
Sharpe
1.30
Return
67.1%
Worst DD
−16.2%
Trades
322

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

Compare all 6 settings
SettingsSharpeReturnWorst DDTrades
%K 14 · topn 15 · Oversold 20/800.6428.0%−16.3%338
%K 10 · topn 15 · Oversold 20/80default1.3067.1%−16.2%322
%K 14 · topn 15 · Oversold 25/751.0955.8%−15.0%338
%K 14 · topn 25 · Oversold 20/80-0.25-27.8%−47.1%622
%K 8 · topn 15 · Oversold 20/801.5095.2%−15.5%356
%K 12 · topn 15 · Oversold 20/800.8339.4%−16.5%335

The data

Monthly returns

MonthReturn
2024-080.0%
2024-090.0%
2024-100.0%
2024-110.0%
2024-120.0%
2025-010.0%
2025-020.0%
2025-03+0.0%
2025-04+1.5%
2025-05-1.5%
2025-06+3.6%
2025-07+6.9%
2025-08+0.7%
2025-09+8.5%
2025-10+2.6%
2025-11-8.3%
2025-12+2.6%
2026-010.0%
2026-020.0%
2026-03+5.3%
2026-04+7.1%
2026-05+12.8%
2026-06+8.3%
2026-07+3.9%

Which assets it traded

Avg allocationDays held% of time heldAsset
0.18799513.79LINK
0.18238211.9XRP
0.18468111.76kPEPE
0.1833649.29HYPE
0.1958486.97ETH
0.2486.97VVV
0.1686456.53BTC
0.1723456.53SUI
0.2385.52ZEC
0.1598314.5DOGE
0.168182.61SOL
000GRAM
000LIT
000PUMP
000XPL

What this is: a historical backtest on real Hyperliquid market data, net of fees, slippage, and funding. Its worst historical drawdown was 16.1% — 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 a stochastic oscillator strategy work on crypto?

Over 2024-08-15 → 2026-07-05 on real Hyperliquid perps, the default settings earned a Sharpe of 1.30 with +67.1% total return and a 16.1% worst drawdown across 322 trades — net of fees, slippage, and funding. Read the drawdown expectations before sizing your account.

Best stochastic %K settings for crypto perps

You can adjust %K lookback period, Oversold / overbought levels. 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.

Related strategies