Strategies / S24
Bollinger Breakout
Buy a close above the upper band, exit at the mid-line.
Results
| Market class | Return | Holding | Sharpe | Max DD | Win rate | Trades |
|---|---|---|---|---|---|---|
| Crypto, 1d | +201% | +602% | 0.66 | -48.3% | 34.4% | 921 |
| Stocks, 1d | +837% | +28K% | 0.95 | -20.8% | 41.8% | 1,198 |
| Forex, 1d | +3.0% | +3.1% | 0.05 | -15.0% | 35.2% | 668 |
| Commodities, 1d | +89.2% | +1,833% | 0.28 | -30.6% | 38.3% | 640 |
| Indices, 1d | +23.2% | +878% | 0.17 | -19.6% | 38.1% | 596 |
The exact rule
- Go long when close is above SMA(20) + 2 x standard deviation(20).
- Exit the long when close is below SMA(20).
- Declared timeframe: 1d.
Explain it with Ask AI (Premium, on a desktop)
Watch it trade
This runs the same engine in your browser on the latest candles, with your own costs. Press Replay to watch every entry and exit arrive bar by bar.
Download
Pine ScriptFor TradingView
Paper botRuns on the Bot API, no real money
Python backtestOne file, no dependencies
READMEThe rule in plain words
Want it to run by itself? Read the automate guide, and use paper money first.
Related strategies
Breakout With 3R TargetA 20-bar high with a 2 ATR stop and a target three times the risk.Breakout With ATR TrailA 20-bar high, then a 3 ATR trailing stop rides the move.Squeeze BreakoutBollinger bands inside Keltner, then the first close above the band.
Research, not advice. Past results do not predict future ones. Results run to 2026-10-31.