Buys when the 8-period EMA is above the 23-period EMA and RSI crosses above 50, and sells short on the mirror setup. Entries need above-average volume, and each trade has a stop-loss 1.1 times the 12-period ATR with a target at twice that distance.
Best run of 5. USD/JPY, Daily, spread 1, from run sweeps:2026-10-11-USDJPY-D-opt.tsv:10.
| Period | Up to 2026-10-11 |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | Daily | n/a | 5,749 | 33.52 | 121,830 USD | -85,920 |
| Nikkei 225 | Daily | n/a | 1,011 | 35.41 | 17,185 USD | -15,055 |
| US Crude Oil | Daily | n/a | 980 | 37.04 | 13,508 EUR | -7,783 |
| Brent Crude | Daily | n/a | 396 | 37.37 | 8,540 EUR | -5,768 |
| US Crude Oil | 4 hours | n/a | 1,681 | 34.09 | 4,484 EUR | -3,262 |
Charts
The code
// ============================================================== // EMA Trend RSI Volume Momentum // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE lastdir = 0 ONCE hasexit = 0 ONCE coolbar = 0 emas = ExponentialAverage[8](close) emal = ExponentialAverage[23](close) myRsi = RSI[14](close) myAtr = AverageTrueRange[12](close) volma = Average[66](Volume)
43 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 5 market and timeframe combinations. The best run by trade count was USD/JPY, Daily, with 5,749 trades.
The best run had a maximum drawdown of 85,920 USD at the tested position size, against a net result of 121,830 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.