Join waitlist
Strategies / Trend / Hull Moving Average Trend Long

Hull Moving Average Trend Long

Buys when the 55-period Hull moving average is above its value 2 bars earlier, and sells when it falls below that value. It trades long only, with no stop or target.

TrendLong onlySwingNasdaq 100Daily
1.76Profit factor
15,394Net profit EUR
43.82%Win rate
267Trades
-3,801Max drawdown
57.65Avg trade

Best run of 18. Nasdaq 100, Daily, spread 3, from run pf:2026-10-13-NAS100-D.tsv:3.

Entry rules, long

  1. The Hull value is a 7-period weighted average of 2 times a 27-period average minus a 55-period average of close.
  2. Signals are only checked after 70 bars.

Exit rules

  1. The Hull value falls below its value 2 bars earlier, and the position is sold at market for 1 contract.

Test conditions

PeriodUp to 2026-10-13
InstrumentNasdaq 100, Daily
Spread3 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-13

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best runDaily1.76 26743.8215,394 EUR-3,801
Dow JonesDaily1.69 35443.2228,170 EUR-5,550
DAX 40Daily1.59 35344.4817,335 EUR-3,874
Gold1 hour1.26 2,71337.743,640 EUR-504
USD/JPY1 hour1.14 3,25537.08892,570 USD-212,580
USD/JPYDailyn/a 30039.331,270,830 USD-544,750
USD/JPY30 minn/a 4,68634.93457,260 USD-187,430
EUR/USDDailyn/a 29338.2375,558 USD-55,368
Nikkei 225Dailyn/a 28439.0828,985 USD-15,681
Nikkei 2254 hoursn/a 63937.8722,524 USD-14,934
DAX 401 hourn/a 2,65037.6612,017 EUR-3,630
Nasdaq 1004 hoursn/a 75140.0811,661 EUR-5,335
Brent CrudeDailyn/a 11244.6411,107 EUR-9,848
Nasdaq 1001 hourn/a 2,88436.449,416 EUR-5,139
GoldDailyn/a 31936.993,540 EUR-1,051
S&P 500Dailyn/a 37640.433,330 EUR-1,051
Gold4 hoursn/a 74338.222,247 EUR-1,140
S&P 5004 hoursn/a 79838.471,255 EUR-1,114

Charts

Results by run

Top 10 of 18 runs. The full list is in the table above.

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// Hull Moving Average Trend Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

raw = 2 * WeightedAverage[27](close) - WeightedAverage[55](close)
hull = WeightedAverage[7](raw)

10 more lines: the entry and exit rules.

Setup

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.

Indicators used

Hull MAWMA
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run Hull Moving Average Trend Long in ProOrder?

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.

Which markets was it tested on?

It was tested on 18 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 1.76 over 267 trades.

How large was the drawdown?

The best run had a maximum drawdown of 3,801 EUR at the tested position size, against a net result of 15,394 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Smoothed MACD Turn With RSI

Uses the same indicator.

2.60 PF · 5,812 trades

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

Three Bar Slope Short Crossover

Also a trend strategy.

1.75 PF · 267 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

Copy trading on US indices is available to ProRealAlgos members as spots open.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs