The system buys 1 contract when the 15-period EMA rises slightly above the 30-period EMA, and sells when it falls back below. The entry needs the faster EMA above 1.00015 times the slower one.
Best run of 36. Nasdaq 100, Daily, spread 3, from run pf:2026-10-05-NAS100-D.tsv:10.
| Period | Up to 2026-10-05 |
| 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-05 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 2.29 | 154 | 44.81 | 18,989 EUR | -4,257 |
| S&P 500 | Daily | 2.15 | 203 | 37.44 | 4,166 EUR | -609 |
| Dow Jones | Daily | 2.09 | 204 | 35.29 | 27,908 EUR | -5,422 |
| USD/JPY | 10 min | 1.17 | 1,838 | 35.96 | 446,520 USD | -94,540 |
| DAX 40 | 30 min | 1.12 | 2,380 | 34.54 | 12,075 EUR | -2,983 |
| USD/JPY | Daily | n/a | 168 | 35.12 | 1,345,920 USD | -384,150 |
| USD/JPY | 30 min | n/a | 2,092 | 34.89 | 692,940 USD | -196,500 |
| USD/JPY | 1 hour | n/a | 1,641 | 35.65 | 385,670 USD | -270,220 |
| USD/JPY | 15 min | n/a | 1,890 | 35.61 | 312,970 USD | -155,170 |
| EUR/USD | Daily | n/a | 162 | 37.04 | 84,422 USD | -48,295 |
| Nikkei 225 | Daily | n/a | 157 | 36.94 | 45,848 USD | -12,665 |
| Nikkei 225 | 4 hours | n/a | 361 | 36.57 | 29,046 USD | -10,445 |
| Nikkei 225 | 3 min | n/a | 2,043 | 33.63 | 23,242 USD | -6,865 |
| Nikkei 225 | 1 hour | n/a | 1,289 | 33.67 | 17,274 USD | -12,417 |
| Nikkei 225 | 2 min | n/a | 1,989 | 34.39 | 15,954 USD | -6,795 |
| Dow Jones | 30 min | n/a | 943 | 35.31 | 14,159 EUR | -6,896 |
| Dow Jones | 4 hours | n/a | 140 | 41.43 | 14,023 EUR | -6,056 |
| Nasdaq 100 | 30 min | n/a | 2,398 | 34.90 | 12,106 EUR | -3,767 |
| DAX 40 | Daily | n/a | 197 | 36.55 | 11,738 EUR | -3,627 |
| US Crude Oil | Daily | n/a | 162 | 41.98 | 11,086 EUR | -8,070 |
| Nasdaq 100 | 1 hour | n/a | 1,518 | 35.31 | 10,652 EUR | -4,411 |
| Brent Crude | Daily | n/a | 72 | 37.50 | 8,697 EUR | -8,558 |
| Nasdaq 100 | 4 hours | n/a | 456 | 36.84 | 8,033 EUR | -4,914 |
| DAX 40 | 1 hour | n/a | 1,437 | 34.73 | 7,606 EUR | -3,742 |
| DAX 40 | 4 hours | n/a | 437 | 33.18 | 6,906 EUR | -3,496 |
| Nasdaq 100 | 5 min | n/a | 2,007 | 35.77 | 6,141 EUR | -3,592 |
| Brent Crude | 1 hour | n/a | 842 | 33.85 | 4,983 EUR | -4,648 |
| Nasdaq 100 | 15 min | n/a | 2,334 | 33.98 | 4,817 EUR | -4,029 |
| Gold | Daily | n/a | 195 | 32.31 | 3,226 EUR | -930 |
| Gold | 4 hours | n/a | 400 | 35.00 | 3,090 EUR | -1,298 |
| Gold | 1 hour | n/a | 1,488 | 33.74 | 2,644 EUR | -983 |
| Gold | 30 min | n/a | 2,361 | 32.61 | 2,514 EUR | -918 |
| S&P 500 | 4 hours | n/a | 443 | 37.70 | 2,340 EUR | -1,038 |
| Gold | 15 min | n/a | 2,310 | 30.82 | 1,506 EUR | -1,054 |
| Gold | 10 min | n/a | 2,240 | 31.65 | 1,214 EUR | -1,000 |
| Gold | 5 min | n/a | 2,177 | 33.58 | 940 EUR | -598 |
Charts
Top 10 of 36 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // EMA 15/30 Trend Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false emafast = ExponentialAverage[15](close) emaslow = ExponentialAverage[30](close)
9 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 | 18,988.60 EUR |
| Net, long run | 19,295.80 EUR |
| Net on the older data alone | 307.20 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 36 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 2.29 over 154 trades.
The best run had a maximum drawdown of 4,257 EUR at the tested position size, against a net result of 18,989 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.