The strategy buys when the close crosses above the upper Bollinger Band, which is a 20-bar average plus 1.5 standard deviations. It sells when the close crosses below the lower band.
Best run of 22. Nasdaq 100, Daily, spread 3, from run pf:2026-10-10-NAS100-D.tsv:7.
| Period | Up to 2026-10-10 |
| Instrument | Nasdaq 100, 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 2.30 | 189 | 46.03 | 19,312 EUR | -3,065 |
| Gold | Daily | 2.04 | 223 | 39.91 | 3,343 EUR | -809 |
| Gold | 1 hour | 1.22 | 2,084 | 38.34 | 2,856 EUR | -688 |
| USD/JPY | Daily | n/a | 218 | 41.74 | 802,210 USD | -534,300 |
| USD/JPY | 1 hour | n/a | 2,327 | 38.85 | 780,020 USD | -218,730 |
| USD/JPY | 30 min | n/a | 3,362 | 36.05 | 550,110 USD | -149,660 |
| Nikkei 225 | Daily | n/a | 194 | 42.78 | 38,225 USD | -12,699 |
| Nikkei 225 | 4 hours | n/a | 423 | 43.26 | 35,218 USD | -9,801 |
| Silver | 4 hours | n/a | 520 | 38.46 | 29,293 USD | -16,200 |
| Nikkei 225 | 1 hour | n/a | 1,657 | 38.62 | 18,842 USD | -15,265 |
| Dow Jones | Daily | n/a | 261 | 45.98 | 15,289 EUR | -7,406 |
| Brent Crude | Daily | n/a | 80 | 40.00 | 11,717 EUR | -7,779 |
| Nasdaq 100 | 4 hours | n/a | 544 | 43.01 | 11,630 EUR | -5,040 |
| DAX 40 | Daily | n/a | 255 | 49.02 | 10,588 EUR | -3,344 |
| DAX 40 | 1 hour | n/a | 1,992 | 38.76 | 8,696 EUR | -4,630 |
| Nasdaq 100 | 30 min | n/a | 3,687 | 35.50 | 7,554 EUR | -5,189 |
| Nasdaq 100 | 1 hour | n/a | 2,333 | 37.89 | 5,135 EUR | -4,411 |
| DAX 40 | 30 min | n/a | 3,527 | 35.61 | 4,891 EUR | -3,668 |
| Gold | 4 hours | n/a | 505 | 41.78 | 3,313 EUR | -1,083 |
| S&P 500 | Daily | n/a | 269 | 43.12 | 2,338 EUR | -846 |
| Gold | 30 min | n/a | 3,500 | 35.00 | 2,209 EUR | -1,264 |
| S&P 500 | 4 hours | n/a | 561 | 41.89 | 1,534 EUR | -1,252 |
Charts
Top 10 of 22 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Bollinger Upper Band Breakout Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false basis = Average[20](close) dev = 1.5 * STD[20](close) upper = basis + dev lower = basis - dev
10 more lines: the entry and exit rules.
Setup
Nasdaq 100 had no history beyond the standard run, so both runs used 10,000 bars.
| Bars available | 10,000 |
| Net, standard 200,000-bar run | 19,311.90 EUR |
| Net, long run | 19,311.90 EUR |
| Net on the older data alone | 0.00 EUR |
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 22 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 2.30 over 189 trades.
The best run had a maximum drawdown of 3,065 EUR at the tested position size, against a net result of 19,312 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.