Bob's Bots

Volatility Breakout (Bollinger) Trading Bot Template

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.

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)+3.18%
Average month (out-of-sample)+2.60%
Max drawdown-32.7%
Average month (in-sample / design period)+3.43%
Walk-forward periods profitable5 of 5
Luck checksbeats 100% of random-entry versions; deflated Sharpe 1.00 after 5 variants tried (needs 0.95+)
Trades1947
Win rate34.8%
Profit factor (all / out-of-sample)1.36 / 1.27

By market regime

RegimeDaysAvg month
bull1434+4.58%
bear950-0.05%
chop246+11.60%

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.