Join waitlist
Strategies / Momentum / EMA Crossover Scalp with ADX

EMA Crossover Scalp with ADX

The strategy buys when EMA(9) crosses above EMA(21) with RSI(14) above 50, ADX(14) above 15, a strong green candle and the close above EMA(50). It uses a 0.65% stop and target, and reverses on opposite signals.

MomentumLong & shortSwingDAX 401 hour
n/aProfit factor
3,204Net profit EUR
52.74%Win rate
730Trades
-1,506Max drawdown
4.39Avg trade

Best run of 13. DAX 40, 1 hour, spread 3, from run sweeps:2026-10-11-DAX40-1h-opt.tsv:80.

Entry rules, long

  1. The close is above EMA(50) and ATR(14) divided by close is above 0.003.
  2. The signal must come more than 1 bar after the previous one, and the strategy buys one contract when flat.

Entry rules, short

  1. The close is below EMA(50) and ATR(14) divided by close is above 0.003.
  2. The signal must come more than 1 bar after the previous one, and the strategy sells short one contract when flat.

Exit rules

  1. An opposite signal reverses the position.

Test conditions

PeriodUp to 2026-10-11
InstrumentDAX 40, 1 hour
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-11

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
DAX 40Best run1 hourn/a 73052.743,204 EUR-1,506
Silver2 minn/a 22253.154,904 USD-3,253
Dow Jones4 hoursn/a 14757.824,682 EUR-2,220
Dow Jones1 hourn/a 17954.753,927 EUR-2,121
EUR/USD30 minn/a 1163.642,897 USD-1,845
Nikkei 2255 minn/a 6453.122,644 USD-1,685
Nikkei 2252 minn/a 3100.001,138 USD-290
US Crude Oil2 minn/a 15354.25890 EUR-470
Brent Crude1 minn/a 2360.87316 EUR-184
FTSE 1005 minn/a 1163.64174 EUR-86.40
Gold2 minn/a 2657.69151 EUR-101
DAX 402 minn/a 1100.00148 EUR-119
FTSE 1003 minn/a 475.00102 EUR-49.70

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// EMA Crossover Scalp with ADX
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long & short
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE lastsig = -1000000000

emafast = ExponentialAverage[9](close)
emaslow = ExponentialAverage[21](close)
ematrend = ExponentialAverage[50](close)
myRsi = RSI[14](close)
myAdx = ADX[14]
myAtr = AverageTrueRange[14](close)

39 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

EMARSIADXATR
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run EMA Crossover Scalp with ADX 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 13 market and timeframe combinations. The best run by trade count was DAX 40, 1 hour, with 730 trades.

How large was the drawdown?

The best run had a maximum drawdown of 1,506 EUR at the tested position size, against a net result of 3,204 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

Heikin Ashi Color Flip

Best run on the same market, DAX 40.

1.12 PF · 3,692 trades

ATR Momentum

Also a momentum strategy.

n/a PF · 15,021 trades

Get the full rules, the complete code and the ProRealAlgos portfolio as a member.

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