The system buys when a short RSI recovers above 35, a sign that price has bounced from weakness. It sells when RSI falls back below 75 or below 10, and a 5% stop and 10% target limit each trade.
Best run of 12. DAX 40, 4 hours, spread 3, from run pf:2026-10-05-DAX40-4h.tsv:2.
| Period | Up to 2026-10-05 |
| Instrument | DAX 40, 4 hours |
| 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-05 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| DAX 40Best run | 4 hours | 1.31 | 908 | 67.62 | 23,396 EUR | -4,133 |
| EUR/USD | 3 min | n/a | 5,065 | 55.42 | 71,400 USD | -43,278 |
| Nikkei 225 | 4 hours | n/a | 743 | 66.62 | 35,617 USD | -10,021 |
| Dow Jones | Daily | n/a | 480 | 67.08 | 27,311 EUR | -7,745 |
| Nasdaq 100 | 4 hours | n/a | 941 | 66.84 | 15,499 EUR | -4,394 |
| Dow Jones | 4 hours | n/a | 292 | 68.15 | 12,817 EUR | -9,335 |
| Dow Jones | 30 min | n/a | 2,160 | 63.47 | 12,727 EUR | -10,526 |
| Nasdaq 100 | 1 hour | n/a | 3,420 | 61.35 | 10,220 EUR | -6,358 |
| DAX 40 | Daily | n/a | 552 | 57.07 | 7,750 EUR | -5,893 |
| Brent Crude | Daily | n/a | 234 | 50.00 | 5,729 EUR | -4,076 |
| S&P 500 | 4 hours | n/a | 926 | 66.95 | 2,941 EUR | -1,254 |
| S&P 500 | Daily | n/a | 545 | 61.65 | 2,678 EUR | -1,376 |
Charts
Top 10 of 12 runs. The full list is in the table above.
The code
// ============================================================== // Five-Period RSI Recovery Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[5](close)
13 more lines: the entry and exit rules.
Setup
DAX 40 had no history beyond the standard run, so both runs used 28,000 bars.
| Bars available | 28,000 |
| Net, standard 200,000-bar run | 23,396.30 EUR |
| Net, long run | 23,448.50 EUR |
| Net on the older data alone | 52.20 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 12 market and timeframe combinations. The best run was DAX 40, 4 hours, with a profit factor of 1.31 over 908 trades.
The best run had a maximum drawdown of 4,133 EUR at the tested position size, against a net result of 23,396 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.