The strategy buys when smoothed Heikin Ashi candles, built from 10-period EMAs, turn from red to green and sells when they turn from green to red. It uses no stop loss or profit target.
Best run of 21. Nasdaq 100, Daily, spread 3, from run pf:2026-10-12-NAS100-D.tsv:19.
| Period | Up to 2026-10-12 |
| 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 2.07 | 272 | 40.81 | 19,624 EUR | -4,222 |
| Gold | Daily | 1.98 | 352 | 33.81 | 3,608 EUR | -840 |
| Gold | 1 hour | 1.20 | 2,934 | 32.89 | 2,996 EUR | -739 |
| USD/JPY | 1 hour | 1.15 | 3,374 | 34.74 | 902,810 USD | -189,280 |
| USD/JPY | Daily | n/a | 322 | 39.44 | 1,349,740 USD | -461,300 |
| USD/JPY | 30 min | n/a | 4,840 | 33.02 | 506,360 USD | -169,240 |
| EUR/USD | 3 min | n/a | 5,154 | 26.19 | 123,226 USD | -68,057 |
| EUR/USD | Daily | n/a | 298 | 35.23 | 62,512 USD | -52,702 |
| Nikkei 225 | Daily | n/a | 278 | 37.77 | 49,778 USD | -12,519 |
| Dow Jones | Daily | n/a | 372 | 37.37 | 22,629 EUR | -6,004 |
| Nikkei 225 | 4 hours | n/a | 652 | 34.97 | 21,436 USD | -14,568 |
| Nasdaq 100 | 1 hour | n/a | 2,924 | 34.88 | 14,376 EUR | -4,214 |
| DAX 40 | Daily | n/a | 377 | 42.71 | 12,321 EUR | -5,124 |
| DAX 40 | 1 hour | n/a | 2,727 | 36.30 | 12,062 EUR | -3,337 |
| Dow Jones | 4 hours | n/a | 261 | 39.85 | 9,547 EUR | -8,165 |
| Nasdaq 100 | 4 hours | n/a | 760 | 37.89 | 8,166 EUR | -6,105 |
| DAX 40 | 30 min | n/a | 4,797 | 33.54 | 7,253 EUR | -5,025 |
| DAX 40 | 4 hours | n/a | 778 | 37.40 | 4,630 EUR | -3,736 |
| S&P 500 | Daily | n/a | 389 | 36.50 | 3,358 EUR | -841 |
| Gold | 4 hours | n/a | 786 | 35.75 | 2,104 EUR | -1,379 |
| S&P 500 | 4 hours | n/a | 800 | 38.62 | 1,606 EUR | -1,200 |
Charts
Top 10 of 21 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Smoothed Heikin Ashi Color Change // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE haopen = 0 myO = ExponentialAverage[10](open) myC = ExponentialAverage[10](close) myH = ExponentialAverage[10](high) myL = ExponentialAverage[10](low) haclose = (myO + myH + myL + myC) / 4
23 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 21 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 2.07 over 272 trades.
The best run had a maximum drawdown of 4,222 EUR at the tested position size, against a net result of 19,624 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.