The strategy buys when the close crosses above the lower Bollinger Band on above-average volume and above the 80-period SMA. It sells short when the close crosses below the upper band on strong volume, below the 80-period SMA, with RSI under 85.
Best run of 13. FTSE 100, 1 hour, spread 2, from run pf:2026-10-12-FTSE100-1h.tsv:2.
| Period | Up to 2026-10-12 |
| Instrument | FTSE 100, 1 hour |
| Spread | 2 points |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-10-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| FTSE 100Best run | 1 hour | 1.40 | 579 | 67.88 | 3,611 EUR | -612 |
| USD/JPY | 15 min | n/a | 1,425 | 67.44 | 113,600 USD | -107,220 |
| USD/JPY | 10 min | n/a | 1,262 | 66.80 | 108,210 USD | -90,720 |
| EUR/USD | 10 min | n/a | 1,352 | 66.42 | 24,020 USD | -6,222 |
| EUR/USD | Daily | n/a | 26 | 73.08 | 15,433 USD | -7,766 |
| Dow Jones | Daily | n/a | 17 | 76.47 | 9,989 EUR | -4,719 |
| Silver | 4 hours | n/a | 160 | 67.50 | 9,637 USD | -4,774 |
| US Crude Oil | 1 hour | n/a | 857 | 68.03 | 6,264 EUR | -4,475 |
| Brent Crude | 1 hour | n/a | 519 | 67.82 | 4,503 EUR | -2,141 |
| S&P 500 | Daily | n/a | 29 | 82.76 | 1,873 EUR | -792 |
| Nasdaq 100 | 5 min | n/a | 1,324 | 68.66 | 1,873 EUR | -1,798 |
| GBP/USD | Daily | n/a | 27 | 77.78 | 1,607 USD | -1,555 |
| GBP/USD | 15 min | n/a | 1,450 | 70.90 | 1,317 USD | -1,139 |
Charts
Top 10 of 13 runs. The full list is in the table above.
The code
// ============================================================== // Bollinger Band Breakout With Volume // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false ONCE inlong = 0 ONCE inshort = 0 basis = Average[20](close) dev = 1.8 * STD[20](close) upper = basis + dev lower = basis - dev volma = Average[20](volume) trendma = Average[80](close) myRsi = RSI[14](close)
34 more lines: the entry and exit rules.
Setup
Questions
Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.
It was tested on 13 market and timeframe combinations. The best run was FTSE 100, 1 hour, with a profit factor of 1.40 over 579 trades.
The best run had a maximum drawdown of 612 EUR at the tested position size, against a net result of 3,611 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.