The system buys when EMA(9) crosses above EMA(21) and sells short on the opposite cross, but only when the Efficiency Ratio over 10 bars is at least 0.6. Each trade has a stop at 1.2 times ATR(14) and a target at 1.5 times that distance.
Best run of 3. Dow Jones, 1 hour, spread 3, from run sweeps:2026-10-04-DOW30-1h-opt.tsv:94.
| Period | Up to 2026-10-04 |
| Instrument | Dow Jones, 1 hour |
| Spread | 3 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Dow JonesBest run | 1 hour | n/a | 260 | 44.23 | 2,012 EUR | -1,594 |
| Dow Jones | Daily | n/a | 57 | 52.63 | 4,637 EUR | -2,138 |
| Nasdaq 100 | Daily | n/a | 48 | 25.00 | 1,617 EUR | -769 |
Charts
The code
// ============================================================== // EMA Cross With Efficiency Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false ONCE bse = 9999 bse = bse + 1
34 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 3 market and timeframe combinations. The best run by trade count was Dow Jones, 1 hour, with 260 trades.
The best run had a maximum drawdown of 1,594 EUR at the tested position size, against a net result of 2,012 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.