Buys when RSI(10) falls below 30 and no long is open. Closes the long when RSI(10) rises above 40 or after 10 bars pass since the last oversold reading.
Best run of 10. Nasdaq 100, Daily, spread 3, from run pf:2026-10-12-NAS100-D.tsv:9.
| Period | Up to 2026-10-12 |
| Instrument | Nasdaq 100, Daily |
| 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 6.45 | 156 | 71.79 | 10,959 EUR | -2,396 |
| Nikkei 225 | 4 hours | n/a | 421 | 66.75 | 15,832 USD | -7,133 |
| Nikkei 225 | Daily | n/a | 180 | 71.11 | 11,395 USD | -7,580 |
| Nasdaq 100 | 4 hours | n/a | 557 | 68.58 | 9,196 EUR | -3,268 |
| Dow Jones | Daily | n/a | 210 | 67.14 | 7,589 EUR | -7,252 |
| Dow Jones | 4 hours | n/a | 189 | 71.43 | 6,865 EUR | -4,942 |
| FTSE 100 | Daily | n/a | 193 | 76.68 | 6,599 EUR | -1,690 |
| Dow Jones | 1 hour | n/a | 746 | 68.36 | 6,397 EUR | -5,882 |
| S&P 500 | 4 hours | n/a | 566 | 68.20 | 1,972 EUR | -627 |
| S&P 500 | Daily | n/a | 239 | 64.02 | 1,827 EUR | -778 |
Charts
The code
// ============================================================== // RSI Oversold Time Exit // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE bs = 0 myRsi = RSI[10](close)
16 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 10 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 6.45 over 156 trades.
The best run had a maximum drawdown of 2,396 EUR at the tested position size, against a net result of 10,959 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.