Buys when the high is below 0.95 times the 20-bar SMA and the averaged open is below the averaged close. Sells when the low is above 1.05 times the SMA and the averaged open is above the averaged close.
Best run of 25. Nasdaq 100, Daily, spread 3, from run sweeps:2026-10-04-NAS100-D-opt.tsv:44.
| Period | Up to 2026-10-04 |
| 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | n/a | 11 | 54.55 | 20,670 EUR | -3,881 |
| Nikkei 225 | 15 min | n/a | 1 | 100.00 | 53,574 USD | -13,076 |
| Nikkei 225 | Daily | n/a | 6 | 66.67 | 46,312 USD | -23,162 |
| Nikkei 225 | 4 hours | n/a | 2 | 100.00 | 45,150 USD | -11,811 |
| Dow Jones | 1 hour | n/a | 1 | 100.00 | 32,809 EUR | -8,318 |
| Nikkei 225 | 1 hour | n/a | 1 | 100.00 | 25,824 USD | -11,792 |
| Nikkei 225 | 30 min | n/a | 1 | 100.00 | 25,734 USD | -11,910 |
| Dow Jones | Daily | n/a | 3 | 100.00 | 23,817 EUR | -11,142 |
| Nasdaq 100 | 4 hours | n/a | 3 | 66.67 | 17,640 EUR | -5,975 |
| DAX 40 | 1 hour | n/a | 1 | 100.00 | 16,965 EUR | -4,471 |
| Dow Jones | 4 hours | n/a | 2 | 100.00 | 14,163 EUR | -5,533 |
| Nasdaq 100 | 1 hour | n/a | 2 | 100.00 | 12,519 EUR | -6,233 |
| DAX 40 | Daily | n/a | 10 | 60.00 | 12,493 EUR | -5,661 |
| Brent Crude | 15 min | n/a | 3 | 66.67 | 11,208 EUR | -4,337 |
| US Crude Oil | 30 min | n/a | 6 | 50.00 | 6,801 EUR | -5,646 |
| FTSE 100 | Daily | n/a | 5 | 80.00 | 6,796 EUR | -3,259 |
| S&P 500 | Daily | n/a | 4 | 75.00 | 6,629 EUR | -1,238 |
| FTSE 100 | 1 hour | n/a | 1 | 100.00 | 6,518 EUR | -3,076 |
| S&P 500 | 4 hours | n/a | 2 | 100.00 | 4,552 EUR | -1,298 |
| FTSE 100 | 4 hours | n/a | 1 | 100.00 | 4,446 EUR | -1,296 |
| Gold | 1 hour | n/a | 1 | 100.00 | 3,296 EUR | -1,599 |
| S&P 500 | 1 hour | n/a | 2 | 100.00 | 3,295 EUR | -1,317 |
| Gold | 4 hours | n/a | 1 | 100.00 | 2,769 EUR | -1,586 |
| Gold | Daily | n/a | 10 | 50.00 | 2,488 EUR | -856 |
| Brent Crude | 3 min | n/a | 2 | 100.00 | 2,048 EUR | -2,038 |
Charts
Top 10 of 25 runs. The full list is in the table above.
The code
// ============================================================== // Band Offset Averaged Candle // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false sma = Average[20](close) hclose = (open + high + low + close) / 4 hopen = (open[2] + close[2]) / 2
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 25 market and timeframe combinations. The best run by trade count was Nasdaq 100, Daily, with 11 trades.
The best run had a maximum drawdown of 3,881 EUR at the tested position size, against a net result of 20,670 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.