Buys when the StochRSI %K is below 17 and above %D, once the RSI window is valid. Sells when %K exceeds 90 and turns below %D, when the close falls below 98.5% of entry, or on a rebound in the hlc3 average.
Best run of 6. Nasdaq 100, 30 min, spread 3, from run sweeps:2026-10-11-NAS100-30m-opt.tsv:33.
| Period | Up to 2026-10-11 |
| Instrument | Nasdaq 100, 30 minutes |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | 30 min | n/a | 3,187 | 58.42 | 8,050 EUR | -4,778 |
| Dow Jones | 4 hours | n/a | 257 | 59.53 | 17,919 EUR | -4,812 |
| Dow Jones | 1 hour | n/a | 700 | 60.14 | 10,338 EUR | -6,600 |
| Nasdaq 100 | 4 hours | n/a | 890 | 56.18 | 7,485 EUR | -4,273 |
| DAX 40 | Daily | n/a | 505 | 42.57 | 5,045 EUR | -3,435 |
| S&P 500 | 4 hours | n/a | 786 | 59.67 | 2,028 EUR | -1,148 |
Charts
The code
// ============================================================== // StochRSI Bottom Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE sincebad = 1000 myRsi = RSI[14](close) rh = highest[14](myRsi) rl = lowest[14](myRsi)
29 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 6 market and timeframe combinations. The best run by trade count was Nasdaq 100, 30 minutes, with 3,187 trades.
The best run had a maximum drawdown of 4,778 EUR at the tested position size, against a net result of 8,050 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.