How wide should a trailing stop be for crypto trend following?

In Keel's backtests on Hyperliquid perpetuals (usekeel.io), changing only the stop distance of MA Crossover with a Trailing Stop (Crypto), a stop distance of 0.25 had the highest Sharpe in 2 of 3 matched comparisons from August 2024 through November 2026, after fees and funding. 11 of the 12 runs compared made money.

Data through December 1, 2026 on Hyperliquid perpetuals, net of fees, slippage and funding

By Keel Research Team
Updated December 3, 2026

Full test: MA Crossover with a Trailing Stop (Crypto)

What are the numbers behind the answer?

The table lists every run of MA Crossover with a Trailing Stop (Crypto) that the answer reads, from 2024-08-15 to 2026-12-01.

In 3 sets of runs that differ only in "Stop distance (share of annual volatility)", the highest Sharpe went to 0.25 in 2 and 0.5 in 1. Each set holds every other setting of MA Crossover with a Trailing Stop (Crypto) fixed and changes only this one; 11 of the 12 runs compared made money. With the other settings at their defaults, 0.25 returned +25.1% (Sharpe 1.95), 0.5 returned +23.2% (Sharpe 1.40), 0.75 returned +25.9% (Sharpe 1.40) and 1 returned +24.4% (Sharpe 1.31), on Hyperliquid perpetuals from August 2024 through November 2026, net of fees, slippage and funding.

Stop distance (share of annual volatility): every matched set

2024-08-15 to 2026-12-01
RunSharpe at 0.25Sharpe at 0.5Sharpe at 0.75Sharpe at 1Return at 0.25Return at 0.5Return at 0.75Return at 1
moving averages 16_641.951.401.401.31+25.1%+23.2%+25.9%+24.4%
moving averages 32_1280.790.190.12-0.04+5.8%+1.7%+1.2%-0.9%
moving averages 8_320.691.111.011.01+9.3%+19.7%+18.0%+18.1%

Source: Keel strategy backtest, run 2026-12-03, Hyperliquid perpetuals

The highlighted rows are the runs the answer reads. No run is left out for losing money.

Where did it hold up best?

Among the runs that can be opened from this page, MA Crossover with a Trailing Stop (Crypto), the settings that held up best had the highest Sharpe of those that made money.

MA Crossover with a Trailing Stop (Crypto), the settings that held up best. A starting point from this test, not a recommendation.

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

Configuration

Globalsconfig
target_timeframe1d
UniverseassetsManual · HL Perps · 10 symbols10 resolved
Executionorders
rebalanceOn Change
Pipeline18 steps
PriceDataLoaderData Loader
ohlcvstore
Parallel2 branches
left
ohlcvload
HistoricalVolatilityIndicator
window25
right
ohlcvload
ExtractSeriesSignal Transform
series_nameclose
SignalProductSignal Composer
ScaleSignal Transform
by0.25
stop_gapstore
ohlcvload
Parallel2 branches
fast
SMAIndicator
period16
slow
SMAIndicator
period64
CrossoverSignal Composer
spreadstore
Parallel2 branches
long_in
spreadload
AboveThresholdFilterSignal Transform
threshold0
long_instore
short_in
spreadload
BelowThresholdFilterSignal Transform
threshold0
short_instore
Parallel2 branches
fast
long_inload
slow
short_inload
CrossoverSignal Composer
ThresholdCrossSignal Transform
upper0.5lower-0.5modesymmetric
entriesstore
TradeManagerPosition Manager
entriesentriespricesohlcv
Parallel1 branches
trail
Parallel2 branches
fast
GiveBackPosition Manager
slow
AtEntryPosition Manager
slotstop_gap
CrossoverSignal Composer
AboveThresholdFilterSignal Transform
threshold0
ExitPosition Manager
RiskSizerPosition Sizer
distancestop_gaprisk0.003max_weight0.5

Ask your assistant to run this

The result on this page was computed with Keel. With the Keel connector, an assistant such as Claude or ChatGPT can run a variation of this test (another coin, timeframe or setting) on the same Hyperliquid perpetuals data.

Change the coin, the timeframe or a setting in the prompt before sending it.

For assistants: The tables on this page are served as JSON at https://usekeel.io/strategies/questions/how-wide-a-trailing-stop-for-crypto-trend-following/data.json. The Keel connector at https://mcp.usekeel.io/mcp runs backtests on the same data: keel_strategy_compose saves a strategy from its source, which the Code view on this page shows, and keel_backtest_run runs it. keel_library_fork copies this page's strategy, ma-crossover-trailing-stop-crypto, into the signed-in account as an editable strategy. The steps to add the connector are at https://usekeel.io/agents.

How did the equity move over the test?

The chart shows the equity of MA Crossover with a Trailing Stop (Crypto), default settings over the test, with its drawdown under it.

EquityDrawdown

How was this tested?

The test of MA Crossover with a Trailing Stop (Crypto) ran on Hyperliquid perpetual futures from 2024-08-15 to 2026-12-01, net of fees, slippage and funding.

MA Crossover with a Trailing Stop (Crypto) is a strategy from the Keel library. Its page has the full description and every setting we tested.

Market
Hyperliquid perpetual futures
Window
2024-08-15 to 2026-12-01
Costs
4.5bp fee + 4.5bp slippage per trade; funding included in all combined figures
The buttons open
MA Crossover with a Trailing Stop (Crypto), the settings that held up best

Every number on this page comes from Keel backtests on Hyperliquid perpetual futures, net of fees, slippage and funding. These are historical results for one window. They do not predict the next one, and none of this is investment advice. How these backtests were produced has the method, and the guide to crypto backtesting covers fees, funding, slippage, look-ahead and overfitting.

What changes for my coins and settings?

The test of MA Crossover with a Trailing Stop (Crypto) used one window, one set of coins and one set of settings, and each of those is something you can change in your own draft.

  • This is one window, from August 2024 through November 2026. Another period can give another answer.
  • The coins are a pinned list stored in the strategy. It does not follow new listings.
Other coins
Fork the strategy and change its coins, then backtest it again.
Another timeframe
Change the timeframe in the editor and run the same test on it.
Other settings
Change the settings in the editor and backtest your version with fees, slippage and funding.
From today
Paper trade your version on live Hyperliquid prices with simulated money, with fees and funding charged.

MA Crossover with a Trailing Stop (Crypto), the settings that held up best. A starting point from this test, not a recommendation.

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

Paper trade it from today: Opens it on the paper step: simulated money on live Hyperliquid prices, no real money. The free plan runs 1 paper strategy at a time.

How do I run it myself?

Running MA Crossover with a Trailing Stop (Crypto), the settings that held up best yourself takes three steps in Keel, and you can stop after any of them.

  1. Fork it

    Open this strategy in Keel as your own draft. Change the coins, the timeframe or the settings, and backtest your version with fees, slippage and funding before you trust it.

  2. Paper trade it

    Run it forward on live Hyperliquid prices with simulated money, with fees and funding charged. You need no wallet for this, and no money is at risk, so you can see whether your version trades the way its backtest did.

    How paper trading works
  3. Run it from your own Hyperliquid account

    Connect the wallet you use on Hyperliquid and approve an agent wallet: a separate key that can place trades for you but can never withdraw or transfer funds. Your money stays in your own account. Keel runs the strategy on its servers and it decides after each candle closes, so nothing has to stay open on your computer. One strategy runs per account and trades all of it, and Keel shows the amount it needs before you go live. Pause it or revoke the agent wallet whenever you like; that never moves your money.

    How a Keel trading bot works

MA Crossover with a Trailing Stop (Crypto), the settings that held up best. A starting point from this test, not a recommendation.

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

Building, backtesting and paper trading are free to start, and the free plan can also run a strategy live. The pricing page has the fees and limits.

FAQ

What else do readers ask?

Are fees and funding included?

Yes. Every result is net of fees, slippage and funding: 4.5bp fee + 4.5bp slippage per trade; funding included in all combined figures.

Does a tight or a loose trailing stop work better on crypto perps?

In Keel's backtests on Hyperliquid perpetuals (usekeel.io), changing only the stop distance of MA Crossover with a Trailing Stop (Crypto), a stop distance of 0.25 had the highest Sharpe in 2 of 3 matched comparisons from August 2024 through November 2026, after fees and funding.