Buys when RSI(14) crosses above 30 while the close is above the 0.618 retracement of the last 2 bars' range. Closes the long when RSI(14) crosses below 70 with the close under the 0.382 level.
Best run of 31. Nasdaq 100, 4 hours, spread 3, from run pf:2026-10-05-NAS100-4h.tsv:8.
| Period | Up to 2026-10-05 |
| 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-05 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | 4 hours | 2.64 | 155 | 75.48 | 18,284 EUR | -4,190 |
| DAX 40 | 4 hours | 2.11 | 140 | 72.86 | 17,642 EUR | -4,192 |
| Dow Jones | Daily | n/a | 54 | 83.33 | 42,658 EUR | -8,615 |
| Nikkei 225 | 4 hours | n/a | 115 | 76.52 | 38,032 USD | -9,638 |
| Nikkei 225 | 1 hour | n/a | 402 | 67.16 | 32,147 USD | -10,042 |
| Nikkei 225 | 30 min | n/a | 780 | 66.79 | 28,050 USD | -8,821 |
| Nikkei 225 | 15 min | n/a | 795 | 64.40 | 25,209 USD | -13,269 |
| Nikkei 225 | 10 min | n/a | 782 | 64.32 | 17,534 USD | -11,286 |
| DAX 40 | Daily | n/a | 58 | 72.41 | 17,061 EUR | -4,933 |
| Nasdaq 100 | 30 min | n/a | 786 | 69.59 | 15,548 EUR | -4,838 |
| Nikkei 225 | 5 min | n/a | 792 | 62.88 | 14,678 USD | -11,096 |
| Silver | Daily | n/a | 50 | 76.00 | 13,089 USD | -7,304 |
| DAX 40 | 1 hour | n/a | 494 | 67.21 | 13,012 EUR | -5,700 |
| Dow Jones | 30 min | n/a | 342 | 66.08 | 12,883 EUR | -9,849 |
| Dow Jones | 1 hour | n/a | 185 | 68.65 | 12,134 EUR | -10,104 |
| Nasdaq 100 | 1 hour | n/a | 533 | 71.29 | 11,814 EUR | -5,551 |
| Dow Jones | 15 min | n/a | 642 | 66.36 | 10,201 EUR | -9,360 |
| Nasdaq 100 | 15 min | n/a | 801 | 64.17 | 9,564 EUR | -4,731 |
| Dow Jones | 10 min | n/a | 770 | 65.45 | 8,312 EUR | -8,147 |
| DAX 40 | 30 min | n/a | 806 | 64.39 | 8,003 EUR | -4,845 |
| Nasdaq 100 | Daily | n/a | 39 | 76.92 | 7,618 EUR | -4,428 |
| FTSE 100 | Daily | n/a | 36 | 86.11 | 6,441 EUR | -3,190 |
| FTSE 100 | 4 hours | n/a | 116 | 71.55 | 4,694 EUR | -2,879 |
| FTSE 100 | 1 hour | n/a | 455 | 67.69 | 4,614 EUR | -2,571 |
| S&P 500 | 4 hours | n/a | 136 | 75.74 | 4,013 EUR | -1,298 |
| S&P 500 | 1 hour | n/a | 535 | 71.40 | 3,566 EUR | -1,383 |
| FTSE 100 | 10 min | n/a | 736 | 66.03 | 3,549 EUR | -1,055 |
| S&P 500 | 30 min | n/a | 763 | 69.20 | 3,485 EUR | -952 |
| FTSE 100 | 5 min | n/a | 788 | 67.51 | 3,205 EUR | -1,022 |
| S&P 500 | Daily | n/a | 48 | 79.17 | 2,507 EUR | -945 |
| Gold | 4 hours | n/a | 134 | 68.66 | 1,727 EUR | -701 |
Charts
Top 10 of 31 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // RSI Fibonacci Retracement Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false hh = highest[2](high) ll = lowest[2](low) fibrange = hh - ll fiblow = hh - fibrange * 0.382 fibhigh = hh - fibrange * 0.618 myRsi = RSI[14](close)
13 more lines: the entry and exit rules.
Setup
Nasdaq 100 had no history beyond the standard run, so both runs used 28,000 bars.
| Bars available | 28,000 |
| Net, standard 200,000-bar run | 18,283.50 EUR |
| Net, long run | 18,283.50 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 31 market and timeframe combinations. The best run was Nasdaq 100, 4 hours, with a profit factor of 2.64 over 155 trades.
The best run had a maximum drawdown of 4,190 EUR at the tested position size, against a net result of 18,284 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.