Buys when the difference between 16 and 26 period EMAs crosses above 0 with volume confirmation. Sells short on the mirror cross, and each trade has a 0.348% stop and a 0.383% target.
Best run of 8. USD/JPY, 30 min, spread 1, from run sweeps:2026-10-10-USDJPY-30m-opt.tsv:15.
| Period | Up to 2026-10-10 |
| 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | 30 min | n/a | 1,299 | 50.35 | 314,550 USD | -93,550 |
| USD/JPY | 1 hour | n/a | 746 | 51.47 | 217,440 USD | -94,400 |
| USD/JPY | 5 min | n/a | 693 | 48.92 | 194,290 USD | -105,690 |
| USD/JPY | 2 min | n/a | 330 | 48.18 | 110,670 USD | -53,020 |
| EUR/USD | 4 hours | n/a | 433 | 49.88 | 7,399 USD | -6,668 |
| DAX 40 | 30 min | n/a | 906 | 49.56 | 2,215 EUR | -1,209 |
| DAX 40 | 5 min | n/a | 1,068 | 46.16 | 1,679 EUR | -1,625 |
| Dow Jones | Daily | n/a | 8 | 62.50 | 247 EUR | -153 |
Charts
The code
// ============================================================== // Volume Confirmed Zero Cross // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false vs = ExponentialAverage[5](volume) vl = ExponentialAverage[8](volume)
22 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 8 market and timeframe combinations. The best run by trade count was USD/JPY, 30 minutes, with 1,299 trades.
The best run had a maximum drawdown of 93,550 USD at the tested position size, against a net result of 314,550 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.