Buys on a 9-period EMA crossover over the 21-period EMA on above-average volume, and sells short on the mirror condition. Longs close when the close falls below the 9-period EMA, and shorts close when it rises above.
Best run of 4. Nasdaq 100, 1 hour, spread 3, from run sweeps:2026-10-12-NAS100-1h-opt.tsv:49.
| Period | Up to 2026-10-12 |
| Instrument | Nasdaq 100, 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | 1 hour | n/a | 1,384 | 34.18 | 5,169 EUR | -2,869 |
| Nikkei 225 | Daily | n/a | 82 | 35.37 | 9,000 USD | -6,086 |
| DAX 40 | Daily | n/a | 70 | 40.00 | 4,883 EUR | -3,571 |
| Gold | 4 hours | n/a | 508 | 33.66 | 570 EUR | -428 |
Charts
The code
// ============================================================== // EMA Crossover Volume Surge Exit // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false emafast = ExponentialAverage[9](close) emaslow = ExponentialAverage[21](close) volavg = (volume[1] + volume[2] + volume[3] + volume[4] + volume[5]) / 5
18 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 Nasdaq 100, 1 hour, with 1,384 trades.
The best run had a maximum drawdown of 2,869 EUR at the tested position size, against a net result of 5,168 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.