Buys when a 5-period simple average crosses over a 10-period Hull moving average and sells when it crosses back under. It has no stop or target.
Best run of 9. Nasdaq 100, Daily, spread 3, from run pf:2026-10-10-NAS100-D.tsv:2.
| 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 | 1.74 | 730 | 61.64 | 19,680 EUR | -4,670 |
| S&P 500 | Daily | 1.60 | 939 | 65.18 | 4,975 EUR | -1,017 |
| Nasdaq 100 | 4 hours | 1.28 | 1,935 | 62.53 | 16,778 EUR | -3,658 |
| S&P 500 | 4 hours | 1.27 | 2,000 | 64.40 | 4,445 EUR | -958 |
| Dow Jones | Daily | n/a | 910 | 68.13 | 33,722 EUR | -9,606 |
| Dow Jones | 4 hours | n/a | 658 | 67.17 | 23,467 EUR | -8,310 |
| Nikkei 225 | 4 hours | n/a | 1,637 | 62.61 | 16,579 USD | -9,778 |
| FTSE 100 | Daily | n/a | 748 | 63.90 | 7,731 EUR | -2,642 |
| DAX 40 | Daily | n/a | 925 | 61.95 | 7,222 EUR | -5,673 |
Charts
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // SMA And Hull Average Crossover // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false fast = Average[5](close) raw = 2 * WeightedAverage[5](close) - WeightedAverage[10](close) slow = WeightedAverage[3](raw)
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 | 19,680.30 EUR |
| Net, long run | 19,680.30 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 9 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 1.74 over 730 trades.
The best run had a maximum drawdown of 4,670 EUR at the tested position size, against a net result of 19,680 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.