The strategy buys when price is below the 60-period and 120-period EMAs, minus DI is above its average, and RSI is not falling, within one of four trend regimes. It sells on exhaustion signals, with a 25% stop.
Best run of 24. S&P 500, 4 hours, spread 1, from run pf:2026-10-05-USA500-4h.tsv:5.
| Period | Up to 2026-10-05 |
| Instrument | S&P 500, 4 hours |
| Spread | 1 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 |
|---|---|---|---|---|---|---|
| S&P 500Best run | 4 hours | 3.57 | 100 | 79.00 | 3,461 EUR | -757 |
| Nasdaq 100 | 1 hour | 1.89 | 365 | 66.85 | 11,891 EUR | -1,594 |
| USD/JPY | 4 hours | n/a | 99 | 66.67 | 326,500 USD | -163,190 |
| Nikkei 225 | 1 hour | n/a | 262 | 61.83 | 14,730 USD | -6,267 |
| Dow Jones | 4 hours | n/a | 38 | 71.05 | 14,376 EUR | -5,000 |
| Silver | 5 min | n/a | 392 | 66.07 | 14,276 USD | -7,901 |
| Silver | 4 hours | n/a | 104 | 64.42 | 13,340 USD | -11,675 |
| Dow Jones | 1 hour | n/a | 103 | 63.11 | 11,099 EUR | -4,937 |
| Silver | 3 min | n/a | 391 | 65.73 | 9,113 USD | -7,295 |
| DAX 40 | 1 hour | n/a | 310 | 64.84 | 9,001 EUR | -2,604 |
| Nasdaq 100 | 30 min | n/a | 451 | 61.86 | 7,136 EUR | -3,050 |
| EUR/USD | 10 min | n/a | 371 | 64.96 | 6,658 USD | -5,079 |
| Nasdaq 100 | Daily | n/a | 18 | 66.67 | 5,518 EUR | -3,611 |
| Dow Jones | 30 min | n/a | 209 | 65.07 | 5,176 EUR | -4,700 |
| DAX 40 | Daily | n/a | 21 | 57.14 | 4,648 EUR | -3,520 |
| DAX 40 | 4 hours | n/a | 98 | 63.27 | 4,489 EUR | -3,583 |
| EUR/USD | 5 min | n/a | 374 | 62.83 | 4,165 USD | -3,423 |
| FTSE 100 | Daily | n/a | 24 | 83.33 | 3,187 EUR | -2,103 |
| Brent Crude | 2 min | n/a | 419 | 62.77 | 3,029 EUR | -956 |
| Dow Jones | 2 min | n/a | 357 | 64.71 | 2,847 EUR | -1,825 |
| Brent Crude | 10 min | n/a | 444 | 61.94 | 2,309 EUR | -1,869 |
| S&P 500 | 1 hour | n/a | 346 | 62.72 | 2,076 EUR | -545 |
| S&P 500 | 30 min | n/a | 451 | 59.20 | 1,113 EUR | -944 |
| Gold | 2 min | n/a | 340 | 65.00 | 709 EUR | -333 |
Charts
Top 10 of 24 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Regime RSI Dip With 25% Stop // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[5](close) emarsi = ExponentialAverage[5](myRsi) myAdx = ADX[14] minusdi = DIminus[14](close) plusdi = DIplus[14](close) minusdiema = ExponentialAverage[25](minusdi) lowsma = ExponentialAverage[60](close) highsma = ExponentialAverage[120](close) fastsma = Average[120](close) slowsma = Average[240](close)
34 more lines: the entry and exit rules.
Setup
S&P 500 had no history beyond the standard run, so both runs used 28,000 bars.
| Bars available | 28,000 |
| Net, standard 200,000-bar run | 3,460.68 EUR |
| Net, long run | 3,460.68 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 24 market and timeframe combinations. The best run was S&P 500, 4 hours, with a profit factor of 3.57 over 100 trades.
The best run had a maximum drawdown of 757 EUR at the tested position size, against a net result of 3,461 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.