Buys when the 14 period RSI falls below 30, and closes the long when RSI rises above 70. Also closes the long once the close rises above 0.99 times the signal close.
Best run of 11. Nasdaq 100, 4 hours, spread 3, from run sweeps:2026-10-03-NAS100-4h-opt.tsv:60.
| Period | Up to 2026-10-03 |
| Instrument | Nasdaq 100, 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | 4 hours | n/a | 465 | 66.45 | 7,589 EUR | -2,621 |
| Nikkei 225 | Daily | n/a | 147 | 80.95 | 23,686 USD | -9,269 |
| Dow Jones | Daily | n/a | 147 | 74.83 | 18,388 EUR | -9,192 |
| Nikkei 225 | 4 hours | n/a | 338 | 68.64 | 14,857 USD | -6,303 |
| DAX 40 | Daily | n/a | 158 | 65.19 | 7,446 EUR | -4,443 |
| Nasdaq 100 | Daily | n/a | 89 | 69.66 | 5,151 EUR | -2,024 |
| Brent Crude | 4 hours | n/a | 249 | 73.09 | 3,533 EUR | -2,603 |
| FTSE 100 | Daily | n/a | 109 | 69.72 | 3,131 EUR | -2,268 |
| S&P 500 | 4 hours | n/a | 444 | 69.82 | 1,451 EUR | -1,210 |
| S&P 500 | Daily | n/a | 141 | 49.65 | 1,100 EUR | -952 |
| Gold | Daily | n/a | 142 | 69.01 | 617 EUR | -209 |
Charts
Top 10 of 11 runs. The full list is in the table above.
The code
// ============================================================== // RSI Zone Scalp Reentry // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false ONCE dir = 0 ONCE intrade = 0 ONCE ref = 0 ONCE trend = 0 ONCE dur = 0 ONCE pers = 0 ONCE adv = 0 myRsi = RSI[14](close)
48 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 11 market and timeframe combinations. The best run by trade count was Nasdaq 100, 4 hours, with 465 trades.
The best run had a maximum drawdown of 2,621 EUR at the tested position size, against a net result of 7,589 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.