Join waitlist
Strategies / Momentum / MACD Zero Cross On Opens

MACD Zero Cross On Opens

Uses MACD(12, 26, 9) on bar opens. It buys when the histogram crosses above zero with RSI(14) at or below 55, and sells short when it crosses below zero with RSI(14) at or above 50. A 15% stop loss is set from the entry.

MomentumLong & shortIntradayNasdaq 10030 min
n/aProfit factor
8,347Net profit EUR
57.64%Win rate
2,658Trades
-6,527Max drawdown
3.14Avg trade

Best run of 10. Nasdaq 100, 30 min, spread 3, from run sweeps:2026-10-07-NAS100-30m-opt.tsv:12.

Entry rules, long

  1. RSI(14) of the open is at or below 55.
  2. A long is opened at market when both conditions hold, with a 15% stop loss set from the entry price.

Entry rules, short

  1. RSI(14) of the open is at or above 50.
  2. A short is opened at market when both conditions hold, with a 15% stop loss set from the entry price.

Exit rules

  1. The 15% stop loss closes the trade if it is hit.

Test conditions

PeriodUp to 2026-10-07
InstrumentNasdaq 100, 30 minutes
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-10

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best run30 minn/a 2,65857.648,347 EUR-6,527
EUR/USD1 hourn/a 2,59663.5289,383 USD-54,475
Nikkei 2254 hoursn/a 40765.1121,936 USD-12,927
DAX 401 hourn/a 1,67263.2214,390 EUR-5,354
Dow Jones30 minn/a 1,08162.9014,077 EUR-12,432
Dow Jones1 hourn/a 59762.4812,147 EUR-11,383
Nasdaq 1001 hourn/a 1,81261.709,449 EUR-7,655
FTSE 1001 hourn/a 1,68761.715,623 EUR-3,125
FTSE 100Dailyn/a 20263.864,667 EUR-3,943
S&P 5001 hourn/a 1,86061.022,802 EUR-1,354

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// MACD Zero Cross On Opens
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long & short
// Timeframe tested: 30 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

myRsi = RSI[14](open)
myMacd = ExponentialAverage[12](open) - ExponentialAverage[26](open)
signal = ExponentialAverage[9](myMacd)
delta = myMacd - signal

12 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

MACDRSIEMA
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 6,527 EUR is large next to the net profit of 8,347 EUR.

Questions

About this strategy

Can I run MACD Zero Cross On Opens 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 10 market and timeframe combinations. The best run by trade count was Nasdaq 100, 30 minutes, with 2,658 trades.

How large was the drawdown?

The best run had a maximum drawdown of 6,527 EUR at the tested position size, against a net result of 8,347 EUR.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

ATR Momentum

Also a momentum strategy.

n/a PF · 15,021 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

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