The strategy buys at market when the stochastic reversal state is bullish and the Negative Volume Index is above its 50-period EMA, and sells short when both are bearish. Positions close when the two states disagree.
Best run of 13. USD/JPY, 10 min, spread 1, from run pf:2026-10-12-USDJPY-10m.tsv:5.
| Period | Up to 2026-10-12 |
| Instrument | USD/JPY, 10 minutes |
| Spread | 1 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 |
|---|---|---|---|---|---|---|
| USD/JPYBest run | 10 min | 1.16 | 2,262 | 36.56 | 591,740 USD | -145,030 |
| USD/JPY | 15 min | n/a | 2,246 | 35.40 | 601,420 USD | -162,850 |
| USD/JPY | 30 min | n/a | 2,223 | 33.83 | 339,940 USD | -269,150 |
| USD/JPY | 1 hour | n/a | 1,358 | 36.67 | 311,540 USD | -229,820 |
| Dow Jones | 4 hours | n/a | 123 | 45.53 | 13,011 EUR | -7,416 |
| DAX 40 | Daily | n/a | 31 | 48.39 | 5,752 EUR | -4,047 |
| US Crude Oil | 15 min | n/a | 2,314 | 35.00 | 5,178 EUR | -4,345 |
| S&P 500 | Daily | n/a | 26 | 46.15 | 2,030 EUR | -1,717 |
| Gold | Daily | n/a | 46 | 32.61 | 2,002 EUR | -1,136 |
| Gold | 4 hours | n/a | 359 | 37.33 | 1,917 EUR | -1,025 |
| Gold | 30 min | n/a | 2,186 | 34.35 | 1,671 EUR | -872 |
| Gold | 10 min | n/a | 2,263 | 32.61 | 1,263 EUR | -877 |
| S&P 500 | 4 hours | n/a | 179 | 41.90 | 1,162 EUR | -1,091 |
Charts
Top 10 of 13 runs. The full list is in the table above.
The code
// ============================================================== // Stochastic Reversal With Volume Index // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 10 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE posrev = 0 ONCE sincebad = 1000 ONCE postwo = 0 ONCE nres = 0 ll = lowest[14](low) hh = highest[14](high)
55 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 13 market and timeframe combinations. The best run was USD/JPY, 10 minutes, with a profit factor of 1.16 over 2,262 trades.
The best run had a maximum drawdown of 145,030 USD at the tested position size, against a net result of 591,740 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.