Join waitlist
Strategies / Trend / EMA Trend RSI Cross With ADX

EMA Trend RSI Cross With ADX

The strategy buys when price is above a rising 50-bar EMA that is above the 200-bar EMA, and RSI(3) crosses above 20 with ADX(5) above 30. It sells short on the mirror setup with RSI(3) crossing under 80.

TrendLong & shortSwingSilver4 hours
5.20Profit factor
139,358Net profit USD
34.46%Win rate
267Trades
-7,411Max drawdown
522Avg trade

Best run of 4. Silver, 4 hours, spread 2, from run pf:2026-10-12-SILVER-4h.tsv:5.

Entry rules, long

  1. The close is above the 50-bar exponential moving average
  2. The 50-bar EMA is above the 200-bar EMA and higher than it was 5 bars earlier
  3. ADX(5) is above 30
  4. ATR(14) is above its 20-bar simple moving average

Entry rules, short

  1. The close is below the 50-bar exponential moving average
  2. The 50-bar EMA is below the 200-bar EMA and lower than it was 5 bars earlier
  3. ADX(5) is above 30
  4. ATR(14) is above its 20-bar simple moving average

Exit rules

  1. An opposite signal reverses the position

Test conditions

PeriodUp to 2026-10-12
InstrumentSilver, 4 hours
Spread2 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
SilverBest run4 hours5.20 26734.46139,358 USD-7,411
Dow Jones4 hoursn/a 9446.814,640 EUR-2,059
USD/JPYDailyn/a 14140.433,210 USD-2,310
S&P 5004 hoursn/a 33240.36789 EUR-326

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// EMA Trend RSI Cross With ADX
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long & short
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

emafast = ExponentialAverage[50](close)
emaslow = ExponentialAverage[200](close)
myRsi = RSI[3](close)
myAdx = ADX[5]
myAtr = AverageTrueRange[14](close)
slope = emafast - emafast[5]

22 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

EMARSIADXATRSMA
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 EMA Trend RSI Cross 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 4 market and timeframe combinations. The best run was Silver, 4 hours, with a profit factor of 5.20 over 267 trades.

How large was the drawdown?

The best run had a maximum drawdown of 7,410 USD at the tested position size, against a net result of 139,358 USD.

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

SMA Crossover With RSI Exit

Best run on the same market, Silver.

2.13 PF · 8,999 trades

Eight Bar Trend Follower

Also a trend strategy.

5.19 PF · 280 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