The strategy scores oversold RSI, MACD turns, candle shape and a bullish reversal pattern, then buys 1 contract when the score reaches 13 or more. It sets a stop below the recent 11 bar low and a target 5 times that risk.
Best run of 29. USD/JPY, Daily, spread 1, from run pf:2026-10-12-USDJPY-D.tsv:28.
| Period | Up to 2026-10-12 |
| Instrument | USD/JPY, Daily |
| 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 | Daily | 3.05 | 148 | 42.57 | 47,870 USD | -4,000 |
| Nikkei 225 | 15 min | n/a | 483 | 20.08 | 30,074 USD | -8,504 |
| Nikkei 225 | 30 min | n/a | 597 | 16.92 | 17,720 USD | -7,453 |
| Nikkei 225 | 2 min | n/a | 303 | 19.80 | 12,741 USD | -4,252 |
| Dow Jones | 1 hour | n/a | 166 | 19.88 | 12,690 EUR | -5,723 |
| Nikkei 225 | 10 min | n/a | 448 | 18.08 | 12,484 USD | -6,234 |
| Nikkei 225 | 1 hour | n/a | 413 | 15.50 | 11,321 USD | -8,423 |
| Dow Jones | Daily | n/a | 116 | 23.28 | 9,831 EUR | -8,027 |
| Dow Jones | 15 min | n/a | 371 | 17.79 | 9,765 EUR | -5,823 |
| Dow Jones | 10 min | n/a | 322 | 20.50 | 8,937 EUR | -3,587 |
| Dow Jones | 30 min | n/a | 244 | 20.90 | 8,910 EUR | -5,589 |
| DAX 40 | 30 min | n/a | 691 | 19.39 | 8,598 EUR | -5,140 |
| Nikkei 225 | 5 min | n/a | 374 | 17.91 | 8,510 USD | -8,051 |
| Nikkei 225 | 1 min | n/a | 227 | 18.94 | 7,500 USD | -5,436 |
| US Crude Oil | Daily | n/a | 133 | 26.32 | 7,481 EUR | -3,646 |
| DAX 40 | 1 hour | n/a | 476 | 17.65 | 6,150 EUR | -2,990 |
| Dow Jones | 4 hours | n/a | 61 | 24.59 | 5,856 EUR | -5,100 |
| Nasdaq 100 | 1 hour | n/a | 510 | 14.51 | 5,595 EUR | -5,148 |
| Dow Jones | 2 min | n/a | 158 | 19.62 | 4,751 EUR | -3,865 |
| DAX 40 | 15 min | n/a | 496 | 17.94 | 4,705 EUR | -2,721 |
| Dow Jones | 1 min | n/a | 121 | 20.66 | 4,131 EUR | -2,064 |
| US Crude Oil | 30 min | n/a | 848 | 16.98 | 3,591 EUR | -2,598 |
| S&P 500 | 1 hour | n/a | 430 | 18.14 | 2,861 EUR | -819 |
| FTSE 100 | 1 hour | n/a | 463 | 18.79 | 2,439 EUR | -2,236 |
| FTSE 100 | 10 min | n/a | 292 | 19.52 | 1,896 EUR | -1,045 |
| Gold | 15 min | n/a | 317 | 19.56 | 1,256 EUR | -429 |
| S&P 500 | 5 min | n/a | 213 | 20.19 | 1,204 EUR | -401 |
| Gold | 10 min | n/a | 295 | 17.97 | 1,077 EUR | -590 |
| S&P 500 | 2 min | n/a | 149 | 19.46 | 379 EUR | -367 |
Charts
Top 10 of 29 runs. The full list is in the table above.
The code
// ============================================================== // Scored Oversold Reversal Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE cand = 0 ONCE rlow = 0 ONCE rhigh = 0 ONCE conf = 0 ONCE ccnt = 0 ONCE tpslset = 0 myMacd = ExponentialAverage[3](close) - ExponentialAverage[10](close) signal = ExponentialAverage[3](myMacd) hist = myMacd - signal myRsi = RSI[21](close) body = ABS(close - open) lwick = MIN(open, close) - low tot = high - low
97 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 29 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 3.05 over 148 trades.
The best run had a maximum drawdown of 4,000 USD at the tested position size, against a net result of 47,870 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.