The idea buys when a Hull moving average crosses up through the lower Bollinger Band above a 208 bar channel midpoint, and sells short on the opposite cross below the upper band. Any open position closes on either crossing.
Best run of 13. DAX 40, Daily, spread 3, from run pf:2026-10-04-DAX40-D.tsv:3.
| Period | Up to 2026-10-04 |
| Instrument | DAX 40, 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| DAX 40Best run | Daily | 2.30 | 126 | 54.76 | 11,942 EUR | -2,527 |
| USD/JPY | 4 hours | n/a | 295 | 49.15 | 361,480 USD | -169,110 |
| EUR/USD | Daily | n/a | 106 | 54.72 | 33,020 USD | -29,360 |
| EUR/USD | 4 hours | n/a | 387 | 51.94 | 28,694 USD | -23,054 |
| Dow Jones | Daily | n/a | 126 | 59.52 | 16,363 EUR | -5,617 |
| Silver | 15 min | n/a | 1,683 | 46.76 | 11,341 USD | -9,928 |
| Dow Jones | 30 min | n/a | 751 | 52.20 | 10,121 EUR | -5,693 |
| Dow Jones | 1 hour | n/a | 377 | 53.85 | 7,836 EUR | -3,958 |
| GBP/USD | Daily | n/a | 115 | 53.04 | 4,443 USD | -3,905 |
| Nasdaq 100 | 4 hours | n/a | 292 | 52.40 | 4,056 EUR | -3,043 |
| FTSE 100 | Daily | n/a | 102 | 56.86 | 3,244 EUR | -1,446 |
| FTSE 100 | 1 hour | n/a | 935 | 49.63 | 3,115 EUR | -1,893 |
| S&P 500 | Daily | n/a | 123 | 60.16 | 2,718 EUR | -1,108 |
Charts
Top 10 of 13 runs. The full list is in the table above.
The code
// ============================================================== // Hull Band Crossover // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false hmaraw = 2 * WeightedAverage[4](close) - WeightedAverage[9](close) hma = WeightedAverage[3](hmaraw) mid = Average[20](close) sd = STD[20](close) upper = mid + 2 * sd lower = mid - 2 * sd spanb = (Highest[208](high) + Lowest[208](low)) / 2
22 more lines: the entry and exit rules.
Setup
DAX 40 had no history beyond the standard run, so both runs used 14,000 bars.
| Bars available | 14,000 |
| Net, standard 200,000-bar run | 11,942.30 EUR |
| Net, long run | 12,269.90 EUR |
| Net on the older data alone | 327.60 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 13 market and timeframe combinations. The best run was DAX 40, Daily, with a profit factor of 2.30 over 126 trades.
The best run had a maximum drawdown of 2,527 EUR at the tested position size, against a net result of 11,942 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.