Join waitlist
Strategies / Trend / ADX Directional Momentum Long

ADX Directional Momentum Long

The strategy buys in strong uptrends, when ADX(14) is above 25, Momentum(14) is positive and +DI(25) leads. It closes the long in strong downtrends, when ADX(14) is above 25, Momentum(14) is negative and -DI(25) leads.

TrendLong onlySwingNasdaq 1004 hours
2.20Profit factor
17,144Net profit EUR
50.22%Win rate
223Trades
-3,673Max drawdown
76.88Avg trade

Best run of 49. Nasdaq 100, 4 hours, spread 3, from run pf:2026-10-04-NAS100-4h.tsv:3.

Entry rules, long

  1. No trades are placed on the first 60 bars.

Exit rules

  1. Sell to close the long when ADX(14) is above 25, Momentum(14) is below 0, -DI(25) is above 25 and +DI(25) is below -DI(25).

Test conditions

PeriodUp to 2026-10-04
InstrumentNasdaq 100, 4 hours
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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best run4 hours2.20 22350.2217,144 EUR-3,673
Gold1 hour1.59 62441.833,378 EUR-618
Nasdaq 10015 min1.26 1,03641.8914,951 EUR-2,733
Nasdaq 10010 min1.25 99139.0514,136 EUR-2,755
USD/JPY30 minn/a 94741.61550,090 USD-266,480
USD/JPY4 hoursn/a 18940.21463,530 USD-320,620
USD/JPY15 minn/a 91539.13326,710 USD-174,080
EUR/USDDailyn/a 6145.9069,057 USD-37,830
Nikkei 225Dailyn/a 6241.9452,498 USD-8,666
Silver4 hoursn/a 18741.1829,219 USD-16,695
Nikkei 2252 minn/a 99638.2524,698 USD-6,410
Nikkei 2251 hourn/a 56639.2220,519 USD-12,666
Nikkei 2255 minn/a 1,03637.5517,685 USD-12,427
Nikkei 2251 minn/a 98837.1517,564 USD-6,462
Nikkei 22530 minn/a 1,11740.2016,857 USD-10,367
Nikkei 2253 minn/a 1,03936.9616,677 USD-9,355
Nikkei 2254 hoursn/a 15140.4016,360 USD-11,772
Dow JonesDailyn/a 6053.3315,794 EUR-6,498
Nasdaq 100Dailyn/a 5459.2614,557 EUR-3,269
Dow Jones1 hourn/a 22442.8614,250 EUR-5,473
Nasdaq 1001 hourn/a 70842.0913,203 EUR-3,677
DAX 40Dailyn/a 6553.8511,614 EUR-5,270
Dow Jones15 minn/a 80738.6611,263 EUR-6,141
Nasdaq 1005 minn/a 92537.9510,397 EUR-3,569
DAX 4015 minn/a 97238.589,715 EUR-3,200
Nasdaq 1003 minn/a 83540.609,643 EUR-2,791
Nasdaq 1002 minn/a 81940.059,200 EUR-3,469
DAX 4030 minn/a 1,03240.127,839 EUR-3,425
Dow Jones30 minn/a 43338.577,409 EUR-6,957
Nasdaq 10030 minn/a 1,04941.096,942 EUR-3,104
DAX 4010 minn/a 99437.635,578 EUR-2,974
DAX 404 hoursn/a 19745.185,481 EUR-4,123
Nasdaq 1001 minn/a 88237.764,688 EUR-2,089
FTSE 100Dailyn/a 5848.282,983 EUR-2,688
GoldDailyn/a 7045.712,676 EUR-1,328
FTSE 1004 hoursn/a 15148.342,448 EUR-2,140
S&P 50010 minn/a 96839.362,356 EUR-687
S&P 500Dailyn/a 6451.562,331 EUR-951
Gold4 hoursn/a 20742.512,229 EUR-951
S&P 50015 minn/a 99939.342,219 EUR-1,048
S&P 5004 hoursn/a 20846.152,109 EUR-910
Gold5 minn/a 84839.151,957 EUR-506
S&P 5001 hourn/a 67241.221,953 EUR-845
Gold10 minn/a 92438.531,716 EUR-649
Gold15 minn/a 90238.581,686 EUR-884
Gold30 minn/a 92638.981,482 EUR-875
S&P 5005 minn/a 95036.211,138 EUR-765
Gold3 minn/a 85436.53959 EUR-660
S&P 5003 minn/a 87737.51709 EUR-636

Charts

Results by run

Top 10 of 49 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

// ==============================================================
// ADX Directional Momentum Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

myAdx = ADX[14]
myDiplus = DIplus[25](close)
myDiminus = DIminus[25](close)
mom = Momentum[14]

13 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

ADXDMIMomentum
Longer historyRe-run on up to 1,000,000 barsNasdaq 100 · 4 hours · older data 0.00 EUR

Nasdaq 100 had no history beyond the standard run, so both runs used 28,000 bars.

Nasdaq 100 · 4 hours

Bars available28,000
Net, standard 200,000-bar run17,143.80 EUR
Net, long run17,143.80 EUR
Net on the older data alone0.00 EUR
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 ADX Directional Momentum 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 49 market and timeframe combinations. The best run was Nasdaq 100, 4 hours, with a profit factor of 2.20 over 223 trades.

How large was the drawdown?

The best run had a maximum drawdown of 3,673 EUR at the tested position size, against a net result of 17,144 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Reversal Pattern With Commodity Selection Index

Uses the same indicator.

2.63 PF · 5,528 trades

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

Action Zone Trend Follow

Also a trend strategy.

2.20 PF · 214 trades

See how ProRealAlgos combines strategies like this into one automated portfolio.

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