Buys when RSI(10) is at or below 30 with the 250-period SMA above the 500-period SMA and volume above 2.5 times its 20-period average. Exits when the 250-period SMA crosses under the 500-period SMA, or at a 5% stop loss.
Best run of 28. US Crude Oil, 2 min, spread 3, from run sweeps:2026-10-11-CRUDE-2m-opt.tsv:3.
| Period | Up to 2026-10-11 |
| Instrument | US Crude Oil, 2 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 |
|---|---|---|---|---|---|---|
| US Crude OilBest run | 2 min | n/a | 218 | 38.07 | 2,711 EUR | -2,181 |
| USD/JPY | 1 hour | n/a | 75 | 48.00 | 402,860 USD | -222,160 |
| USD/JPY | 4 hours | n/a | 16 | 56.25 | 325,350 USD | -173,370 |
| USD/JPY | 30 min | n/a | 157 | 45.86 | 300,380 USD | -157,730 |
| USD/JPY | 2 min | n/a | 156 | 46.15 | 44,910 USD | -44,760 |
| Nikkei 225 | Daily | n/a | 4 | 25.00 | 32,487 USD | -11,480 |
| Nikkei 225 | 4 hours | n/a | 27 | 44.44 | 30,399 USD | -11,811 |
| Nikkei 225 | 1 hour | n/a | 66 | 50.00 | 24,269 USD | -9,472 |
| Nasdaq 100 | 1 hour | n/a | 65 | 52.31 | 14,674 EUR | -3,548 |
| Nasdaq 100 | 30 min | n/a | 138 | 52.17 | 12,767 EUR | -4,160 |
| Nikkei 225 | 15 min | n/a | 203 | 39.41 | 12,163 USD | -8,539 |
| Nasdaq 100 | 4 hours | n/a | 20 | 45.00 | 11,417 EUR | -4,652 |
| Dow Jones | 30 min | n/a | 90 | 46.67 | 9,771 EUR | -5,528 |
| Dow Jones | 4 hours | n/a | 12 | 58.33 | 9,631 EUR | -6,334 |
| DAX 40 | 30 min | n/a | 132 | 43.18 | 7,090 EUR | -2,781 |
| Silver | 2 min | n/a | 80 | 42.50 | 5,760 USD | -5,106 |
| Dow Jones | 2 min | n/a | 186 | 46.77 | 5,338 EUR | -2,358 |
| DAX 40 | 4 hours | n/a | 19 | 47.37 | 4,860 EUR | -4,215 |
| Dow Jones | 1 min | n/a | 198 | 45.45 | 4,843 EUR | -2,592 |
| Brent Crude | 3 min | n/a | 207 | 41.55 | 4,061 EUR | -2,363 |
| S&P 500 | 1 hour | n/a | 61 | 52.46 | 3,361 EUR | -735 |
| S&P 500 | 4 hours | n/a | 20 | 45.00 | 3,170 EUR | -950 |
| S&P 500 | 30 min | n/a | 126 | 44.44 | 1,775 EUR | -991 |
| FTSE 100 | 10 min | n/a | 212 | 42.92 | 1,766 EUR | -1,286 |
| Gold | 1 hour | n/a | 79 | 44.30 | 1,070 EUR | -489 |
| Gold | 30 min | n/a | 137 | 38.69 | 536 EUR | -529 |
| S&P 500 | 1 min | n/a | 176 | 43.18 | 524 EUR | -332 |
| Gold | 2 min | n/a | 48 | 64.58 | 258 EUR | -196 |
Charts
Top 10 of 28 runs. The full list is in the table above.
The code
// ============================================================== // Oversold Volume Spike Trend Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 2 minutes // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[10](close) smaa = Average[250](close) smab = Average[500](close)
12 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 28 market and timeframe combinations. The best run by trade count was US Crude Oil, 2 minutes, with 218 trades.
The best run had a maximum drawdown of 2,180 EUR at the tested position size, against a net result of 2,711 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.