Volume-Confirmed Breakout Trading Bot Template
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.
Tested result
Passed out-of-sample Profitable on data it was not tuned on and passed every luck/overfitting check. Still not a guarantee.
Test: Binance USD-M Futures, 31 large-cap perps (BTC, ETH, SOL, XRP, DOGE ...; each enters when listed, delisted ones kept), 4h, 2019-09-08 to 2026-11-19, out-of-sample from 2024-09-21. Run 2026-11-19 19:39 EST.
| Average month (whole test) | +2.60% |
|---|---|
| Average month (out-of-sample) | +3.29% |
| Max drawdown | -27.2% |
| Average month (in-sample / design period) | +2.30% |
| Walk-forward periods profitable | 5 of 5 |
| Luck checks | beats 100% of random-entry versions; deflated Sharpe 1.00 after 2 variants tried (needs 0.95+) |
| Trades | 2021 |
| Win rate | 33.8% |
| Profit factor (all / out-of-sample) | 1.35 / 1.34 |
By market regime
| Regime | Days | Avg month |
|---|---|---|
| bull | 1434 | +3.53% |
| bear | 950 | +0.19% |
| chop | 246 | +10.30% |
Template results are real backtests from this engine on the listed coins and dates, after fees, slippage and funding. None is a promise. A template is labeled "Passed out-of-sample" only if it passed every check.
Open this template in the workshop
Results not guaranteed. Backtests are hypothetical; trading risks loss of capital.