Buys when the 10-period EMA crosses above the 25-period EMA and closes the long when the 10-period EMA crosses below it. Trades one contract, long only, with no stop or target.
Best run of 24. Nasdaq 100, Daily, spread 3, from run pf:2026-10-10-NAS100-D.tsv:3.
| Period | Up to 2026-10-10 |
| Instrument | Nasdaq 100, Daily |
| 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 2.53 | 208 | 39.42 | 22,832 EUR | -3,702 |
| Gold | Daily | 2.21 | 266 | 30.83 | 3,722 EUR | -809 |
| Dow Jones | Daily | 1.98 | 277 | 37.55 | 31,208 EUR | -6,360 |
| S&P 500 | Daily | 1.79 | 291 | 36.43 | 3,771 EUR | -736 |
| DAX 40 | Daily | 1.53 | 275 | 36.36 | 13,796 EUR | -3,377 |
| USD/JPY | Daily | n/a | 259 | 34.36 | 1,005,630 USD | -419,150 |
| USD/JPY | 1 hour | n/a | 2,604 | 30.57 | 768,420 USD | -236,410 |
| USD/JPY | 30 min | n/a | 3,738 | 30.28 | 631,290 USD | -202,360 |
| EUR/USD | Daily | n/a | 223 | 35.43 | 86,169 USD | -40,415 |
| Nikkei 225 | Daily | n/a | 216 | 35.19 | 43,913 USD | -11,186 |
| Nikkei 225 | 4 hours | n/a | 528 | 32.39 | 21,808 USD | -15,324 |
| Nikkei 225 | 1 hour | n/a | 1,898 | 31.45 | 16,658 USD | -13,930 |
| Dow Jones | 4 hours | n/a | 191 | 38.74 | 16,261 EUR | -5,085 |
| Nasdaq 100 | 1 hour | n/a | 2,246 | 32.37 | 12,755 EUR | -3,470 |
| DAX 40 | 30 min | n/a | 3,774 | 29.81 | 10,571 EUR | -4,431 |
| Nasdaq 100 | 4 hours | n/a | 628 | 35.35 | 10,067 EUR | -5,702 |
| DAX 40 | 1 hour | n/a | 2,093 | 32.44 | 9,741 EUR | -4,758 |
| Nasdaq 100 | 30 min | n/a | 3,849 | 30.35 | 6,651 EUR | -4,268 |
| US Crude Oil | 4 hours | n/a | 450 | 33.56 | 5,377 EUR | -5,153 |
| DAX 40 | 4 hours | n/a | 622 | 30.39 | 4,973 EUR | -3,586 |
| Gold | 4 hours | n/a | 561 | 33.69 | 3,482 EUR | -959 |
| Gold | 1 hour | n/a | 2,264 | 29.24 | 2,703 EUR | -1,033 |
| S&P 500 | 4 hours | n/a | 620 | 34.84 | 2,334 EUR | -1,028 |
| Gold | 30 min | n/a | 3,816 | 29.17 | 1,776 EUR | -1,239 |
Charts
Top 10 of 24 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // EMA 10 25 Crossover Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false mashort = ExponentialAverage[10](close) malong = ExponentialAverage[25](close)
10 more lines: the entry and exit rules.
Setup
Nasdaq 100 had no history beyond the standard run, so both runs used 10,000 bars.
| Bars available | 10,000 |
| Net, standard 200,000-bar run | 22,831.90 EUR |
| Net, long run | 22,831.90 EUR |
| Net on the older data alone | 0.00 EUR |
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 24 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 2.53 over 208 trades.
The best run had a maximum drawdown of 3,702 EUR at the tested position size, against a net result of 22,832 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.