Buys when the 9-period EMA crosses above the 21-period EMA with RSI(14) above 55, and sells short on a cross below with RSI(14) under 40. Positions close on the opposite cross or a 2% adverse move from the signal close.
Best run of 12. Nikkei 225, Daily, spread 10, from run pf:2026-10-10-NIKKEI-D.tsv:1.
| Period | Up to 2026-10-10 |
| Instrument | Nikkei 225, Daily |
| Spread | 10 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 |
|---|---|---|---|---|---|---|
| Nikkei 225Best run | Daily | 1.82 | 212 | 34.43 | 48,419 USD | -9,296 |
| USD/JPY | Daily | n/a | 254 | 31.50 | 867,520 USD | -489,500 |
| USD/JPY | 30 min | n/a | 3,772 | 33.40 | 840,550 USD | -218,590 |
| USD/JPY | 1 hour | n/a | 2,654 | 32.74 | 672,300 USD | -322,650 |
| Nasdaq 100 | Daily | n/a | 238 | 34.03 | 15,432 EUR | -4,368 |
| Dow Jones | 4 hours | n/a | 215 | 37.21 | 12,407 EUR | -7,519 |
| Nikkei 225 | 2 min | n/a | 3,828 | 30.88 | 11,031 USD | -9,286 |
| Dow Jones | Daily | n/a | 309 | 32.04 | 10,642 EUR | -9,407 |
| DAX 40 | 1 hour | n/a | 2,329 | 34.22 | 9,233 EUR | -5,138 |
| DAX 40 | 30 min | n/a | 3,960 | 33.08 | 6,120 EUR | -2,958 |
| Gold | 4 hours | n/a | 615 | 36.10 | 2,989 EUR | -858 |
| Gold | Daily | n/a | 263 | 29.28 | 1,563 EUR | -533 |
Charts
Top 10 of 12 runs. The full list is in the table above.
The code
// ============================================================== // EMA Crossover RSI ADX Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE lsl = 0 ONCE ssl = 0 emafast = ExponentialAverage[9](close) emaslow = ExponentialAverage[21](close) myRsi = RSI[14](close) myAdx = ADX[14]
38 more lines: the entry and exit rules.
Setup
Nikkei 225 had no history beyond the standard run, so both runs used 11,000 bars.
| Bars available | 11,000 |
| Net, standard 200,000-bar run | 48,418.60 USD |
| Net, long run | 48,418.60 USD |
| Net on the older data alone | 0.00 USD |
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 12 market and timeframe combinations. The best run was Nikkei 225, Daily, with a profit factor of 1.82 over 212 trades.
The best run had a maximum drawdown of 9,296 USD at the tested position size, against a net result of 48,419 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.