Buys when RSI(12) forms a trough with the prior reading below 25, and sells short on a peak above 75, taking signals only while flat. Each position closes 6 bars after its signal bar.
Best run of 4. Nasdaq 100, 4 hours, spread 3, from run sweeps:2026-10-12-NAS100-4h-opt.tsv:24.
| Period | Up to 2026-10-12 |
| 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | 4 hours | n/a | 620 | 46.29 | 6,076 EUR | -2,278 |
| Dow Jones | 4 hours | n/a | 182 | 54.40 | 10,258 EUR | -3,880 |
| US Crude Oil | 4 hours | n/a | 428 | 52.10 | 3,832 EUR | -2,474 |
| FTSE 100 | Daily | n/a | 153 | 56.21 | 2,093 EUR | -1,548 |
Charts
The code
// ============================================================== // RSI Peak Trough Six Bar Hold // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long & short // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false ONCE xbar = -100 ONCE ybar = -100 myRsi = RSI[12](close)
23 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 4 market and timeframe combinations. The best run by trade count was Nasdaq 100, 4 hours, with 620 trades.
The best run had a maximum drawdown of 2,278 EUR at the tested position size, against a net result of 6,076 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.