Join waitlist
Strategies / Momentum / Trend RSI Cross With ADX Filter

Trend RSI Cross With ADX Filter

It buys when RSI(3) crosses over 20 during an uptrend, with ADX(5) above 20 and a strong bullish bar. It sells short on the mirror conditions, with stops and targets based on ATR(14).

MomentumLong & shortSwingSilver4 hours
5.01Profit factor
181,973Net profit USD
27.13%Win rate
387Trades
-10,236Max drawdown
470Avg trade

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

Entry rules, long

  1. The close is above the 50-period EMA, and the 50-period EMA is above the 200-period EMA.
  2. The bar is bullish with a body greater than 0.5 times its high to low range.

Entry rules, short

  1. The close is below the 50-period EMA, and the 50-period EMA is below the 200-period EMA.
  2. The bar is bearish with a body greater than 0.5 times its high to low range.

Exit rules

  1. An opposite signal closes the trade and reverses it.

Test conditions

PeriodUp to 2026-10-05
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-05

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
SilverBest run4 hours5.01 38727.13181,973 USD-10,236
Dow Jones4 hours1.60 14743.5410,198 EUR-1,709
USD/JPYDailyn/a 20535.127,260 USD-3,360
SilverDailyn/a 12728.354,698 USD-4,645
Nasdaq 100Dailyn/a 19134.034,618 EUR-2,341
S&P 5004 hoursn/a 44831.92943 EUR-549
S&P 500Dailyn/a 22236.94889 EUR-431

Charts

Results by run

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// Trend RSI Cross With ADX Filter
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// 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)

body = abs(close - open)
rng = high - low

32 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
Longer historyRe-run on up to 1,000,000 barsDow Jones · 4 hours · older data 0.00 EUR

Dow Jones had no history beyond the standard run, so both runs used 9,000 bars.

Dow Jones · 4 hours

Bars available9,000
Net, standard 200,000-bar run10,197.50 EUR
Net, long run10,197.50 EUR
Net on the older data alone0.00 EUR
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 Trend RSI Cross With ADX Filter 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 7 market and timeframe combinations. The best run was Silver, 4 hours, with a profit factor of 5.01 over 387 trades.

How large was the drawdown?

The best run had a maximum drawdown of 10,236 USD at the tested position size, against a net result of 181,973 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

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.

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