Join waitlist
Strategies / Momentum / Oscillator Cross With Hull Filter

Oscillator Cross With Hull Filter

The strategy buys when a smoothed oscillator crosses above a slower one while the 480-bar Hull MA rises and price is above it. Stops sit beyond the 14-bar ATR or the 20-bar swing, whichever is further, and targets at 3 times stop distance.

MomentumLong & shortSwingUSD/JPYDaily
2.45Profit factor
43,270Net profit USD
44.00%Win rate
125Trades
-3,820Max drawdown
346Avg trade

Best run of 15. USD/JPY, Daily, spread 1, from run pf:2026-10-13-USDJPY-D.tsv:7.

Entry rules, long

  1. The 480-bar Hull MA is above its value 2 bars earlier, and close is above the Hull MA.
  2. The bar body (close minus open) is above its 80-bar standard deviation.

Entry rules, short

  1. The 480-bar Hull MA is below its value 2 bars earlier, and close is below that earlier value.
  2. The bar body (close minus open) is below the negative of its 80-bar standard deviation.

Exit rules

  1. For shorts, the stop is the higher of close plus the 14-bar ATR and the 20-bar swing high, measured from the fill price.
  2. The target is 3 times the stop distance from the fill price.

Test conditions

PeriodUp to 2026-10-13
InstrumentUSD/JPY, Daily
Spread1 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
USD/JPYBest runDaily2.45 12544.0043,270 USD-3,820
SilverDailyn/a 6131.1518,829 USD-9,884
Silver4 hoursn/a 17226.7418,163 USD-17,334
Dow JonesDailyn/a 8632.5610,498 EUR-7,143
Nasdaq 100Dailyn/a 6126.239,296 EUR-9,040
DAX 4010 minn/a 1,05028.867,825 EUR-3,255
Nasdaq 1004 hoursn/a 17529.146,216 EUR-5,713
Brent Crude10 minn/a 1,10027.365,144 EUR-2,890
Dow Jones5 minn/a 1,08926.724,867 EUR-4,375
Gold1 hourn/a 61531.382,316 EUR-592
GoldDailyn/a 7538.671,750 EUR-869
Gold10 minn/a 1,02728.331,445 EUR-485
Gold4 hoursn/a 16132.301,434 EUR-922
Gold5 minn/a 1,08527.651,146 EUR-566
Gold30 minn/a 98727.761,059 EUR-707

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Oscillator Cross With Hull Filter
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long & short
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE hp = 0
ONCE filt = 0
ONCE peak = 0
ONCE filtb = 0
ONCE peakb = 0

myX = 0
xb = 0

48 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 MAWMAATRStandard Deviation
Read this firstKnown weaknesses2 points
  • Results include the spread only. Commissions and overnight financing are not included.
  • The code is published as it was backtested and has not been compiled again since.

Questions

About this strategy

Can I run Oscillator Cross With Hull Filter 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 15 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 2.45 over 125 trades.

How large was the drawdown?

The best run had a maximum drawdown of 3,820 USD at the tested position size, against a net result of 43,270 USD.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

KDJ J Line Momentum Long

Uses the same indicator.

4.17 PF · 6,135 trades

Trend Surfer

Best run on the same market, USD/JPY.

1.04 PF · 10,813 trades

MACD Zero Line Cross

Also a momentum strategy.

2.46 PF · 186 trades

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

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

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