Buys when price is above its 800 period SMA and RSI(14) crosses back above 30. Sells when RSI(14) rises above 75 or price crosses under the 800 period SMA. Long only, with no stop or target.
Best run of 20. S&P 500, 30 min, spread 1, from run sweeps:2026-10-07-USA500-30m-opt.tsv:6.
| Period | Up to 2026-10-07 |
| Instrument | S&P 500, 30 minutes |
| 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| S&P 500Best run | 30 min | n/a | 497 | 47.69 | 1,359 EUR | -630 |
| USD/JPY | 2 min | n/a | 426 | 37.56 | 39,160 USD | -31,170 |
| EUR/USD | 4 hours | n/a | 94 | 45.74 | 35,281 USD | -29,043 |
| Dow Jones | Daily | n/a | 35 | 65.71 | 21,862 EUR | -11,116 |
| Silver | 5 min | n/a | 360 | 41.39 | 12,638 USD | -11,534 |
| Nikkei 225 | 4 hours | n/a | 65 | 35.38 | 10,741 USD | -7,894 |
| Nasdaq 100 | 4 hours | n/a | 116 | 56.90 | 9,344 EUR | -3,428 |
| Nasdaq 100 | 1 hour | n/a | 344 | 46.51 | 8,860 EUR | -4,061 |
| Nasdaq 100 | Daily | n/a | 33 | 63.64 | 8,497 EUR | -4,260 |
| Dow Jones | 4 hours | n/a | 30 | 50.00 | 8,428 EUR | -5,050 |
| DAX 40 | Daily | n/a | 36 | 47.22 | 7,778 EUR | -3,718 |
| Nikkei 225 | 1 hour | n/a | 253 | 43.08 | 7,650 USD | -5,983 |
| FTSE 100 | Daily | n/a | 32 | 40.62 | 4,297 EUR | -2,601 |
| Nasdaq 100 | 30 min | n/a | 490 | 47.14 | 3,997 EUR | -3,619 |
| S&P 500 | 4 hours | n/a | 98 | 50.00 | 3,099 EUR | -572 |
| Dow Jones | 2 min | n/a | 347 | 40.35 | 2,962 EUR | -1,593 |
| Nasdaq 100 | 10 min | n/a | 478 | 41.84 | 2,669 EUR | -2,067 |
| Nasdaq 100 | 1 min | n/a | 371 | 41.24 | 1,567 EUR | -1,054 |
| Gold | 4 hours | n/a | 79 | 46.84 | 1,398 EUR | -642 |
| S&P 500 | 1 hour | n/a | 351 | 46.15 | 1,195 EUR | -740 |
Charts
Top 10 of 20 runs. The full list is in the table above.
The code
// ============================================================== // SMA Filter RSI Dip Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false sma = Average[800](close) myRsi = RSI[14](close)
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 20 market and timeframe combinations. The best run by trade count was S&P 500, 30 minutes, with 497 trades.
The best run had a maximum drawdown of 630 EUR at the tested position size, against a net result of 1,359 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.