The strategy buys when low plus 0.3 times the candle range sits below the lower Bollinger Band, provided low plus 0.6 times the body size is not below it. It sells the long when high minus 0.3 times the range rises above the upper band.
Best run of 23. EUR/USD, 15 min, spread 1, from run sweeps:2026-10-04-EURUSD-15m-opt.tsv:3.
| Period | Up to 2026-10-04 |
| Instrument | EUR/USD, 15 minutes |
| Spread | 1 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| EUR/USDBest run | 15 min | n/a | 1,457 | 61.84 | 12,269 USD | -10,282 |
| USD/JPY | 4 hours | n/a | 246 | 66.67 | 597,280 USD | -173,880 |
| Dow Jones | Daily | n/a | 82 | 82.93 | 32,626 EUR | -7,383 |
| Nikkei 225 | 1 hour | n/a | 646 | 63.31 | 29,742 USD | -7,594 |
| Silver | 15 min | n/a | 1,431 | 62.75 | 21,464 USD | -10,535 |
| Nikkei 225 | 4 hours | n/a | 183 | 66.67 | 20,426 USD | -8,125 |
| Nasdaq 100 | Daily | n/a | 69 | 85.51 | 16,909 EUR | -4,023 |
| Silver | Daily | n/a | 77 | 66.23 | 16,305 USD | -8,777 |
| DAX 40 | Daily | n/a | 66 | 69.70 | 13,967 EUR | -4,565 |
| Nasdaq 100 | 4 hours | n/a | 219 | 70.32 | 11,693 EUR | -4,425 |
| Brent Crude | 4 hours | n/a | 127 | 67.72 | 7,950 EUR | -2,767 |
| DAX 40 | 4 hours | n/a | 206 | 62.62 | 7,822 EUR | -3,303 |
| Nasdaq 100 | 15 min | n/a | 1,426 | 65.08 | 7,148 EUR | -4,768 |
| FTSE 100 | Daily | n/a | 83 | 77.11 | 6,254 EUR | -2,806 |
| Nasdaq 100 | 30 min | n/a | 1,444 | 62.81 | 6,241 EUR | -3,505 |
| Nasdaq 100 | 1 hour | n/a | 897 | 63.21 | 6,028 EUR | -3,945 |
| S&P 500 | Daily | n/a | 93 | 86.02 | 5,634 EUR | -964 |
| FTSE 100 | 4 hours | n/a | 208 | 67.79 | 5,117 EUR | -2,764 |
| S&P 500 | 4 hours | n/a | 224 | 70.54 | 3,196 EUR | -1,184 |
| Brent Crude | 3 min | n/a | 1,407 | 62.69 | 2,596 EUR | -2,303 |
| S&P 500 | 1 hour | n/a | 896 | 64.84 | 2,069 EUR | -941 |
| FTSE 100 | 5 min | n/a | 1,435 | 64.18 | 1,190 EUR | -1,185 |
| Gold | 4 hours | n/a | 206 | 67.48 | 1,129 EUR | -727 |
Charts
Top 10 of 23 runs. The full list is in the table above.
The code
// ============================================================== // Bollinger Band Candle Position Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 15 minutes // ============================================================== DEFPARAM CumulateOrders = false basis = Average[20](close) dev = 2.0 * STD[20](close) upper = basis + dev lower = basis - dev myRange = high - low buyzone = low + myRange * 0.3 sellzone = high - myRange * 0.3 bodysize = ABS(close - open) bsbuy = low + bodysize * 0.6
12 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 23 market and timeframe combinations. The best run by trade count was EUR/USD, 15 minutes, with 1,457 trades.
The best run had a maximum drawdown of 10,282 USD at the tested position size, against a net result of 12,269 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.