Buys when RSI(14) crosses above 55 and sells short when it crosses below 45. Positions close when RSI crosses back through 50 against the trade, and an opposite entry signal reverses the position.
Best run of 6. USD/JPY, Daily, spread 1, from run pf:2026-10-12-USDJPY-D.tsv:43.
| 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 | 1.25 | 828 | 28.99 | 1,996,280 USD | -488,400 |
| USD/JPY | 1 hour | n/a | 8,224 | 28.09 | 361,820 USD | -296,760 |
| EUR/USD | Daily | n/a | 770 | 32.99 | 160,928 USD | -50,745 |
| Nikkei 225 | Daily | n/a | 694 | 31.27 | 32,527 USD | -22,257 |
| Brent Crude | Daily | n/a | 329 | 29.18 | 13,625 EUR | -13,601 |
| Gold | 4 hours | n/a | 1,781 | 30.60 | 1,866 EUR | -1,130 |
Charts
The code
// ============================================================== // RSI Momentum Crossover Long Short // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[14](close)
18 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 6 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 1.25 over 828 trades.
The best run had a maximum drawdown of 488,400 USD at the tested position size, against a net result of 1,996,280 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.