Buys when the 12-period EMA is above the 26-period EMA and the close is above the 12-period EMA. Sells on the first bar the reverse condition appears.
Best run of 19. Nasdaq 100, Daily, spread 3, from run pf:2026-10-13-NAS100-D.tsv:12.
| Period | Up to 2026-10-13 |
| 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-13 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 2.43 | 187 | 43.32 | 20,564 EUR | -3,422 |
| Gold | Daily | 2.30 | 241 | 31.54 | 3,740 EUR | -809 |
| S&P 500 | Daily | 1.97 | 260 | 35.38 | 4,074 EUR | -735 |
| Dow Jones | Daily | 1.93 | 255 | 36.08 | 28,389 EUR | -6,165 |
| DAX 40 | Daily | 1.63 | 240 | 37.92 | 14,859 EUR | -3,429 |
| Nikkei 225 | Daily | n/a | 196 | 34.18 | 37,132 USD | -13,365 |
| Nikkei 225 | 4 hours | n/a | 467 | 32.98 | 21,121 USD | -15,009 |
| Dow Jones | 4 hours | n/a | 182 | 36.26 | 13,684 EUR | -4,750 |
| US Crude Oil | Daily | n/a | 195 | 38.46 | 11,018 EUR | -7,512 |
| Nasdaq 100 | 30 min | n/a | 3,375 | 32.27 | 10,726 EUR | -3,615 |
| Nasdaq 100 | 1 hour | n/a | 2,014 | 32.13 | 10,432 EUR | -3,846 |
| Nasdaq 100 | 4 hours | n/a | 574 | 35.71 | 9,470 EUR | -5,336 |
| DAX 40 | 30 min | n/a | 3,422 | 30.19 | 8,981 EUR | -4,180 |
| DAX 40 | 1 hour | n/a | 1,921 | 31.86 | 7,734 EUR | -4,219 |
| Gold | 4 hours | n/a | 510 | 35.10 | 3,294 EUR | -1,051 |
| Gold | 1 hour | n/a | 1,998 | 30.48 | 3,063 EUR | -921 |
| S&P 500 | 4 hours | n/a | 548 | 37.59 | 3,008 EUR | -801 |
| Gold | 30 min | n/a | 3,436 | 29.28 | 1,955 EUR | -913 |
| Gold | 5 min | n/a | 3,523 | 28.75 | 714 EUR | -557 |
Charts
Top 10 of 19 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Close Based Action Zone // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false fast = ExponentialAverage[12](close) slow = ExponentialAverage[26](close) green = 0 red = 0
15 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 19 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 2.43 over 187 trades.
The best run had a maximum drawdown of 3,422 EUR at the tested position size, against a net result of 20,564 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.