Join today
Strategies / Momentum / Long Horizon Momentum

Long Horizon Momentum: Buying After a 44% Run

The idea is to buy strength: go long when price has risen more than 44% over the last 130 bars. Exits are a 40% target, a 20% stop or a time exit after 130 bars. Trades are rare and held for months on Daily charts.

MomentumLong onlySwingNasdaq 100Daily
n/aProfit factor
1,982Net profit EUR
60.00%Win rate
10Trades
-1,944Max drawdown
198Avg trade

Best run of 3. Nasdaq 100, Daily, spread 3, from run sweeps:2026-09-24-NAS100-D-opt.tsv:8.

Entry rules, long

  1. Members only
  2. No open long

Exit rules

  1. Members only
  2. Stop loss 20% below entry
  3. Sell 130 bars after entry

Test conditions

PeriodUp to 2026-09-24
InstrumentNasdaq 100, Daily
Spread3 points
Contracts1
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-09-24

Parameters

positionSize
Contracts per trade
1
momentumPeriod
Lookback for the percent return
130
minReturnPct
Buy when the return over the lookback exceeds this percent
44
maxBarsInTrade
Time exit after this many bars
130
takeProfitPct
Profit target, percent of entry price
40
stopLossPct
Protective stop, half the target
20

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best runDailyn/a 1060.001,982 EUR-1,944
Dow JonesDailyn/a 3100.004,471 EUR-2,641
S&P 500Dailyn/a 475.00594 EUR-343

Charts

Results by run

Net profit against max drawdown

Net profitMax drawdown
0-5K-3K3K5KDow Jones · DailyNasdaq 100 · DailyS&P 500 · Daily

The code

ProBuilder, rewritten to house standard

Every file in the library uses the same header, the same section order and the same variable names. The numbers above were produced by the original version before the rewrite, and the rewrite has not yet been compiled in ProRealTime.

// ============================================================
// Long Horizon Momentum
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long only
// Timeframe tested: Daily
// ============================================================

// --- Settings ---
DEFPARAM CumulateOrders = false

// --- Parameters ---
positionSize = 1                  // contracts per trade
momentumPeriod = 130              // lookback for the percent return
minReturnPct = 44                 // buy when the return over that window exceeds this percent
maxBarsInTrade = 130              // time exit after this many bars
takeProfitPct = 40                // profit target, percent of entry price
stopLossPct = takeProfitPct / 2   // stop is half the target

// --- Indicators ---
returnPct = 100 * (close - close[momentumPeriod]) / close[momentumPeriod]

17 more lines: the entry and exit rules.

Read this first

Known weaknesses

  • The best run has only 10 trades, far too few to separate skill from luck.
  • Max drawdown on Nasdaq 100 Daily was EUR 1,944.1, almost equal to the EUR 1,981.8 net profit.
  • Profit factor was not recorded because only sweep data exists.
  • Tests cover only three US indexes, with 3 trades on Dow Jones and 4 on S&P 500.

Indicators used

Momentum

How to load it

  1. Copy the code with the copy button above 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.

Questions

About this strategy

Can Long Horizon Momentum run in ProOrder?

Yes, the entry and percent exits are straightforward. Expect very few trades, so a live test will take a long time to judge.

Where was it tested?

Nasdaq 100 Daily made EUR 1,981.8, Dow Jones Daily EUR 4,470.9 on 3 trades, and S&P 500 Daily EUR 593.83 on 4 trades.

What risk does 1 contract carry?

The stop is 20% from entry, which is a large move on an index. The best run's max drawdown was EUR 1,944.1 with 1 contract.

Why Daily bars?

A 44% gain over 130 bars only happens after strong multi month rallies on Daily charts. Shorter bars would make the rule far too rare or meaningless.

Related

Strategies like this one

Impulse Momentum

Uses the same indicator.

1.44 PF · 481 trades

Negated Hammer

Best run on the same market, Nasdaq 100.

3.20 PF · 372 trades

Twelve Minus Two Momentum

Also a momentum strategy.

12.00 PF · 52 trades

Discuss slow momentum ideas with other systematic traders. Join the ProRealAlgos community 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