Buys when the close falls below the lower Bollinger Band and the short moving averages while RSI(7) crosses under RSI(25). Sells short on the mirror setup at the upper band.
Best run of 7. EUR/USD, 15 min, spread 1, from run sweeps:2026-10-11-EURUSD-15m-opt.tsv:8.
| Period | Up to 2026-10-11 |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| EUR/USDBest run | 15 min | n/a | 3,427 | 53.78 | 37,234 USD | -35,908 |
| USD/JPY | 4 hours | n/a | 585 | 57.61 | 279,400 USD | -258,040 |
| Nikkei 225 | 1 hour | n/a | 1,772 | 54.40 | 20,330 USD | -11,535 |
| Dow Jones | 4 hours | n/a | 204 | 60.29 | 15,160 EUR | -6,864 |
| Dow Jones | Daily | n/a | 193 | 55.44 | 8,889 EUR | -8,033 |
| FTSE 100 | Daily | n/a | 170 | 58.24 | 2,451 EUR | -2,209 |
| S&P 500 | Daily | n/a | 211 | 51.18 | 1,458 EUR | -871 |
Charts
The code
// ============================================================== // Bollinger Band Moving Average Scalp // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long & short // Timeframe tested: 15 minutes // ============================================================== DEFPARAM CumulateOrders = false basis = Average[5](close) dev = 1.5 * STD[5](close) upper = basis + dev lower = basis - dev myRsi = RSI[7](close) rsilo = RSI[25](close) rsihi = RSI[75](close) smaten = Average[10](close) smafive = Average[5](close) emathirty = ExponentialAverage[30](close) ematwenty = ExponentialAverage[20](close)
19 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 7 market and timeframe combinations. The best run by trade count was EUR/USD, 15 minutes, with 3,427 trades.
The best run had a maximum drawdown of 35,908 USD at the tested position size, against a net result of 37,234 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.