The system buys 1 contract when the close is above its 100-period EMA and the MACD line is above its signal line. It sells when both conditions reverse, and it uses no stop or profit target.
Best run of 31. Nasdaq 100, Daily, spread 3, from run pf:2026-10-05-NAS100-D.tsv:11.
| 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 | 3.04 | 159 | 40.25 | 22,474 EUR | -5,074 |
| Nikkei 225 | Daily | 2.16 | 154 | 36.36 | 58,254 USD | -12,909 |
| Nasdaq 100 | 4 hours | 1.63 | 463 | 36.29 | 17,767 EUR | -4,301 |
| S&P 500 | 4 hours | 1.42 | 470 | 33.40 | 3,339 EUR | -799 |
| USD/JPY | Daily | n/a | 185 | 34.59 | 1,247,630 USD | -467,250 |
| USD/JPY | 30 min | n/a | 2,982 | 27.46 | 719,130 USD | -187,590 |
| USD/JPY | 1 hour | n/a | 2,095 | 28.35 | 462,850 USD | -297,670 |
| USD/JPY | 10 min | n/a | 3,148 | 25.41 | 238,110 USD | -131,860 |
| USD/JPY | 15 min | n/a | 3,125 | 25.92 | 163,520 USD | -161,390 |
| Nikkei 225 | 4 hours | n/a | 408 | 32.84 | 29,327 USD | -9,504 |
| Dow Jones | Daily | n/a | 215 | 39.07 | 26,090 EUR | -7,476 |
| Nikkei 225 | 1 hour | n/a | 1,557 | 29.09 | 21,733 USD | -9,645 |
| Nasdaq 100 | 30 min | n/a | 2,911 | 28.89 | 13,239 EUR | -3,396 |
| Nasdaq 100 | 1 hour | n/a | 1,774 | 29.76 | 12,978 EUR | -5,515 |
| DAX 40 | 1 hour | n/a | 1,682 | 29.31 | 12,825 EUR | -3,750 |
| Dow Jones | 4 hours | n/a | 158 | 35.44 | 12,739 EUR | -4,472 |
| DAX 40 | Daily | n/a | 235 | 35.74 | 11,068 EUR | -4,783 |
| DAX 40 | 30 min | n/a | 3,036 | 26.58 | 8,766 EUR | -4,765 |
| Dow Jones | 1 hour | n/a | 624 | 31.09 | 8,369 EUR | -6,484 |
| DAX 40 | 4 hours | n/a | 499 | 32.06 | 6,776 EUR | -4,312 |
| Nasdaq 100 | 15 min | n/a | 2,921 | 27.32 | 6,724 EUR | -3,479 |
| GBP/USD | Daily | n/a | 210 | 32.38 | 6,277 USD | -5,894 |
| Nasdaq 100 | 10 min | n/a | 2,967 | 25.78 | 5,698 EUR | -5,082 |
| Nasdaq 100 | 5 min | n/a | 3,035 | 26.43 | 4,629 EUR | -4,216 |
| S&P 500 | Daily | n/a | 223 | 33.18 | 3,353 EUR | -1,144 |
| Gold | Daily | n/a | 221 | 30.32 | 3,048 EUR | -1,151 |
| Gold | 4 hours | n/a | 471 | 29.30 | 2,386 EUR | -1,426 |
| Gold | 30 min | n/a | 3,009 | 26.55 | 2,172 EUR | -731 |
| Gold | 1 hour | n/a | 1,793 | 27.44 | 2,070 EUR | -1,142 |
| S&P 500 | 1 hour | n/a | 1,849 | 29.58 | 1,800 EUR | -831 |
| S&P 500 | 30 min | n/a | 3,006 | 29.01 | 1,311 EUR | -1,283 |
Charts
Top 10 of 31 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // MACD and EMA 100 Trend Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false myMacd = MACDLine[12,26,9](close) signal = ExponentialAverage[9](myMacd) ema = ExponentialAverage[100](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 | 22,473.80 EUR |
| Net, long run | 22,781.00 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 31 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 3.04 over 159 trades.
The best run had a maximum drawdown of 5,074 EUR at the tested position size, against a net result of 22,474 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.