When ADX is below 20, buys when close crosses above the lower Bollinger Band and sells short when it crosses below the upper band, both using a 20-period SMA with 2 standard deviations. Any position closes when ADX rises above 20.
Best run of 4. Dow Jones, 1 hour, spread 3, from run sweeps:2026-10-11-DOW30-1h-opt.tsv:7.
| Period | Up to 2026-10-11 |
| Instrument | Dow Jones, 1 hour |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Dow JonesBest run | 1 hour | n/a | 748 | 50.53 | 8,886 EUR | -7,930 |
| Silver | Daily | n/a | 252 | 47.62 | 15,013 USD | -10,225 |
| Dow Jones | 4 hours | n/a | 192 | 48.96 | 12,361 EUR | -4,752 |
| DAX 40 | 4 hours | n/a | 562 | 49.29 | 8,977 EUR | -3,086 |
Charts
The code
// ============================================================== // Bollinger ADX Range Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false up = high - high[1] down = low[1] - low plusdm = 0
41 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 4 market and timeframe combinations. The best run by trade count was Dow Jones, 1 hour, with 748 trades.
The best run had a maximum drawdown of 7,930 EUR at the tested position size, against a net result of 8,886 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.