Buys when the 2-period RSI falls below 10 during August to February, then sells once it rises above 50. The short side is coded but its entry and exit conditions are fixed at zero, so no short trades open.
Best run of 2. USD/JPY, Daily, spread 1.4, from run pf:2026-10-10-USDJPY-D.tsv:36.
| Period | Up to 2026-10-10 |
| Instrument | USD/JPY, Daily |
| Spread | 1.4 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 | Daily | 2.04 | 65 | 72.31 | 1,703 USD | -469 |
| US Crude Oil | Daily | 1.20 | 365 | 63.01 | 9,372 EUR | -8,333 |
Charts
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Seasonal RSI Dip Long Short // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE capital = 10000
23 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 2 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 2.04 over 65 trades.
The best run had a maximum drawdown of 469 USD at the tested position size, against a net result of 1,703 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.