The strategy trades crossings of a smoothed RSI through the 50 level, reversing any open position in the opposite direction. Each trade uses a stop and target of 0.435%, from the entry price.
Best run of 3. USD/JPY, 30 min, spread 1, from run sweeps:2026-10-10-USDJPY-30m-opt.tsv:11.
| Period | Up to 2026-10-10 |
| Instrument | USD/JPY, 30 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | 30 min | n/a | 3,547 | 40.94 | 268,870 USD | -189,340 |
| USD/JPY | 4 hours | n/a | 835 | 51.02 | 147,540 USD | -87,770 |
| GBP/USD | Daily | n/a | 288 | 52.43 | 1,253 USD | -689 |
Charts
The code
// ============================================================== // RSI EMA Crossover Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false longema = ExponentialAverage[20](RSI[10](close)) shortema = ExponentialAverage[30](RSI[30](close))
14 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 3 market and timeframe combinations. The best run by trade count was USD/JPY, 30 minutes, with 3,547 trades.
The best run had a maximum drawdown of 189,340 USD at the tested position size, against a net result of 268,870 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.