The strategy buys when a short-term reversal pattern in a stochastic reading lines up with an RSI extreme on the bullish side, and sells short on the mirror setup. An open position closes when the two conditions no longer agree.
Best run of 7. USD/JPY, 10 min, spread 1, from run sweeps:2026-10-11-USDJPY-10m-opt.tsv:19.
| Period | Up to 2026-10-11 |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | 10 min | n/a | 2,182 | 37.99 | 385,110 USD | -150,940 |
| USD/JPY | Daily | n/a | 140 | 45.71 | 2,380,230 USD | -629,900 |
| Nikkei 225 | Daily | n/a | 115 | 39.13 | 59,301 USD | -11,540 |
| Brent Crude | Daily | n/a | 58 | 37.93 | 15,047 EUR | -5,690 |
| Gold | 1 hour | n/a | 1,395 | 38.85 | 1,835 EUR | -1,319 |
| Gold | Daily | n/a | 139 | 38.13 | 1,759 EUR | -1,129 |
| Gold | 30 min | n/a | 2,155 | 37.77 | 1,722 EUR | -842 |
Charts
The code
// ============================================================== // Reversal 123 RSI Pattern // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long & short // Timeframe tested: 10 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE stoch = 50 ONCE posrev = 0 ONCE posrsi = 0 hh = highest[14](high) ll = lowest[14](low)
39 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 7 market and timeframe combinations. The best run by trade count was USD/JPY, 10 minutes, with 2,182 trades.
The best run had a maximum drawdown of 150,940 USD at the tested position size, against a net result of 385,110 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.