Buys when price pulls back to touch the 55-period EMA in an uptrend, RSI(14) is above 55, and a green bar forms on volume at least 1.3 times its 20-period average. Sells short on the mirror setup below the EMA with RSI(14) below 45.
Best run of 4. USD/JPY, 30 min, spread 1, from run sweeps:2026-10-11-USDJPY-30m-opt.tsv:68.
| Period | Up to 2026-10-11 |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | 30 min | n/a | 4,983 | 34.50 | 510,970 USD | -227,360 |
| USD/JPY | 1 hour | n/a | 2,630 | 34.03 | 611,980 USD | -264,050 |
| EUR/USD | Daily | n/a | 361 | 46.54 | 21,297 USD | -12,285 |
| DAX 40 | 1 hour | n/a | 3,949 | 38.97 | 6,260 EUR | -4,280 |
Charts
The code
// ============================================================== // EMA Pullback With Volume Confirmation // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false ema = ExponentialAverage[55](close) myRsi = RSI[14](close) volma = Average[20](volume)
20 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 4 market and timeframe combinations. The best run by trade count was USD/JPY, 30 minutes, with 4,983 trades.
The best run had a maximum drawdown of 227,360 USD at the tested position size, against a net result of 510,970 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.