Join waitlist
Strategies / Momentum / MACD Level Cross Long

MACD Level Cross Long

This idea buys when the MACD line crosses above a small negative level relative to price. It closes the long when the MACD line crosses above a small positive level, with a stop 0.05% below entry.

MomentumLong onlySwingDow JonesDaily
4.70Profit factor
5,215Net profit EUR
2.44%Win rate
246Trades
-1,270Max drawdown
21.20Avg trade

Best run of 6. Dow Jones, Daily, spread 3, from run pf:2026-10-12-DOW30-D.tsv:17.

Entry rules, long

  1. A long is opened only when no long position is already open.

Exit rules

  1. A stop loss sits 0.05% below the entry price.

Test conditions

PeriodUp to 2026-10-12
InstrumentDow Jones, 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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Dow JonesBest runDaily4.70 2462.445,215 EUR-1,270
EUR/USD3 minn/a 1,80636.27131,688 USD-38,021
EUR/USD2 minn/a 1,15836.4464,794 USD-41,809
EUR/USD10 minn/a 2,88631.3641,276 USD-34,736
Nikkei 225Dailyn/a 1992.014,606 USD-3,672
Dow Jones4 hoursn/a 1769.662,566 EUR-2,098

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

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

DEFPARAM CumulateOrders = false

myMacd = ExponentialAverage[12](close) - ExponentialAverage[26](close)
linebuy = close * (-0.017391) / 100
linesell = close * 0.008696 / 100

11 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

MACDEMA
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 MACD Level Cross 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 6 market and timeframe combinations. The best run was Dow Jones, Daily, with a profit factor of 4.70 over 246 trades.

How large was the drawdown?

The best run had a maximum drawdown of 1,270 EUR at the tested position size, against a net result of 5,215 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Slow MACD Slope

Uses the same indicator.

6.80 PF · 7,305 trades

Turtle Trade

Best run on the same market, Dow Jones.

2.42 PF · 6,324 trades

MACD Level Crossover Long

Also a momentum strategy.

4.83 PF · 241 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