Trading Bot Templates with Real Backtest Results
Starting points for your own bot. Each badge and number comes from an actual run of our backtester on the default settings shown, after fees, slippage and funding. The last 30% of the history is kept unseen during design and only checked once. A Passed out-of-sample badge means the template made money on that unseen data and passed our luck and overfitting checks, counting every variant we tried while designing it. Templates that made money but did not clear the strict luck check are shown as they are. Past results are not a guarantee, and results differ on other exchanges, coins and dates (on Hyperliquid's shorter history, for example, most of these lost money during bear stretches), so re-test before you use one.
Trend Breakout
Passed out-of-sample
Trades 20-bar (4h) breakouts on large-cap perps in the direction of the 200 EMA, long or short. 2 ATR stop, 3 ATR trailing stop, skips the most violent bars, 0.5% risk per trade, max 5 positions.
Avg month +2.86% · out-of-sample +3.10% · max drawdown -28.2%
Momentum Breakout (long only)
Passed out-of-sample
Long-only version of Trend Breakout for people who never want to be short: buys 20-bar breakouts above the 200 EMA on large-cap perps, 3 ATR trailing stop. Sits in cash when nothing is trending up.
Avg month +2.80% · out-of-sample +1.99% · max drawdown -28.9%
Volatility Breakout (Bollinger)
Passed out-of-sample
Enters when price closes outside a 2.5-standard-deviation Bollinger band in the direction of the 200 EMA (a volatility expansion), long or short. 2 ATR stop, 3 ATR trailing stop.
Avg month +3.18% · out-of-sample +2.60% · max drawdown -32.7%
Volume-Confirmed Breakout
Passed out-of-sample
Only takes a 20-bar breakout (with the 200 EMA trend) when that bar's volume is at least 1.5x its 30-bar average, so thin fake-outs are skipped. 2 ATR stop, 3 ATR trailing stop.
Avg month +2.60% · out-of-sample +3.29% · max drawdown -27.2%
Funding-Filtered Breakout
Profitable in-sample only
Trend breakout that avoids the crowded side: longs only when funding is below the normal +0.01%/8h (longs not over-paying), shorts only when funding is above -0.01%/8h (Binance 8-hour funding; on Hyperliquid, whose funding is hourly, scale the threshold by 1/8). 2 ATR stop, 3 ATR trailing stop.
Avg month +2.12% · out-of-sample +1.56% · max drawdown -24.4%
Blue-Chip Trend (BTC + ETH)
Profitable in-sample only
The simplest template: the Trend Breakout rules on just Bitcoin and Ethereum, long or short, 1% risk per trade, max 2 positions. Fewer trades, easiest to follow.
Avg month +2.03% · out-of-sample +0.90% · max drawdown -22.9%
Build a bot freeSee tested templates
Results not guaranteed. Backtests are hypothetical; trading risks loss of capital.