The system buys when the close crosses back above the lower Bollinger Band, meaning price has moved back inside the band. It sells when the close reaches the upper band, and no stop loss is set.
Best run of 28. Dow Jones, Daily, spread 3, from run pf:2026-10-12-DOW30-D.tsv:34.
| Period | Up to 2026-10-12 |
| Instrument | Dow Jones, Daily |
| Spread | 3 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-13 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Dow JonesBest run | Daily | 3.21 | 164 | 78.66 | 39,133 EUR | -8,615 |
| S&P 500 | Daily | 3.20 | 172 | 80.23 | 4,790 EUR | -1,190 |
| S&P 500 | 1 hour | 1.27 | 1,628 | 68.30 | 3,996 EUR | -949 |
| USD/JPY | 4 hours | n/a | 415 | 65.54 | 380,970 USD | -282,580 |
| EUR/USD | 30 min | n/a | 2,545 | 64.60 | 42,063 USD | -23,538 |
| Nikkei 225 | 1 hour | n/a | 1,128 | 66.22 | 41,317 USD | -8,378 |
| Silver | Daily | n/a | 152 | 69.08 | 31,014 USD | -9,678 |
| Nikkei 225 | 4 hours | n/a | 275 | 68.00 | 22,642 USD | -10,662 |
| Dow Jones | 4 hours | n/a | 126 | 77.78 | 20,536 EUR | -11,189 |
| Dow Jones | 1 hour | n/a | 536 | 70.34 | 17,982 EUR | -7,394 |
| DAX 40 | Daily | n/a | 173 | 65.32 | 17,791 EUR | -5,511 |
| Nikkei 225 | 30 min | n/a | 2,261 | 64.04 | 17,442 USD | -14,960 |
| Nasdaq 100 | 4 hours | n/a | 380 | 73.68 | 16,808 EUR | -4,569 |
| Nikkei 225 | 15 min | n/a | 2,384 | 64.85 | 15,934 USD | -14,329 |
| Nasdaq 100 | 1 hour | n/a | 1,629 | 67.40 | 14,872 EUR | -4,988 |
| Dow Jones | 30 min | n/a | 1,020 | 67.75 | 12,721 EUR | -8,020 |
| Dow Jones | 15 min | n/a | 1,994 | 69.81 | 11,611 EUR | -7,534 |
| Nasdaq 100 | Daily | n/a | 113 | 72.57 | 11,578 EUR | -6,059 |
| Dow Jones | 10 min | n/a | 2,370 | 68.19 | 11,570 EUR | -6,017 |
| FTSE 100 | Daily | n/a | 127 | 74.80 | 9,989 EUR | -2,902 |
| DAX 40 | 4 hours | n/a | 365 | 67.40 | 9,762 EUR | -5,837 |
| Nasdaq 100 | 30 min | n/a | 2,513 | 64.94 | 7,677 EUR | -5,344 |
| FTSE 100 | 1 hour | n/a | 1,423 | 70.13 | 6,904 EUR | -2,542 |
| Nasdaq 100 | 15 min | n/a | 2,363 | 68.47 | 5,981 EUR | -5,757 |
| S&P 500 | 4 hours | n/a | 378 | 71.96 | 3,988 EUR | -1,205 |
| FTSE 100 | 4 hours | n/a | 335 | 67.76 | 3,128 EUR | -2,782 |
| S&P 500 | 30 min | n/a | 2,509 | 67.04 | 1,826 EUR | -1,286 |
| Gold | Daily | n/a | 152 | 62.50 | 1,304 EUR | -856 |
Charts
Top 10 of 28 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Lower Band Cross Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false sma = Average[20](close) sd = STD[20](close) upper = sma + sd * 2 lower = sma - sd * 2
10 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 28 market and timeframe combinations. The best run was Dow Jones, Daily, with a profit factor of 3.21 over 164 trades.
The best run had a maximum drawdown of 8,615 EUR at the tested position size, against a net result of 39,133 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.