The system buys when RSI(14) rises between 18 and 50 with price above EMA(9) and the lower Bollinger band touched within 5 bars, plus at least 2 confirmations. It sells short on the mirror setup.
Best run of 7. DAX 40, 30 min, spread 3, from run sweeps:2026-10-07-DAX40-30m-opt.tsv:4.
| Period | Up to 2026-10-07 |
| Instrument | DAX 40, 30 minutes |
| 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-07 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| DAX 40Best run | 30 min | n/a | 569 | 34.27 | 1,832 EUR | -1,594 |
| Brent Crude | 1 hour | n/a | 253 | 37.55 | 4,618 EUR | -1,601 |
| Brent Crude | 30 min | n/a | 549 | 35.52 | 3,860 EUR | -1,925 |
| Silver | 4 hours | n/a | 84 | 40.48 | 3,443 USD | -2,623 |
| US Crude Oil | 1 hour | n/a | 342 | 36.26 | 2,717 EUR | -1,158 |
| Nikkei 225 | 1 hour | n/a | 190 | 37.37 | 2,584 USD | -2,502 |
| Brent Crude | 4 hours | n/a | 56 | 35.71 | 1,833 EUR | -1,166 |
Charts
The code
// ============================================================== // Gated Scored Reversal Trade // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long & short // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[14](close) bbmid = Average[20](close) bbdev = 2.0 * STD[20](close) bbup = bbmid + bbdev bblo = bbmid - bbdev emafast = ExponentialAverage[9](close) ematrend = ExponentialAverage[50](close) myAtr = AverageTrueRange[14](close) avgvol = Average[20](volume)
65 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 DAX 40, 30 minutes, with 569 trades.
The best run had a maximum drawdown of 1,594 EUR at the tested position size, against a net result of 1,832 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.