Join waitlist
Strategies / Mean reversion / RSI Two Pullback Above EMA

RSI Two Pullback Above EMA

Buys in uptrends, when the close is at or above the 200-period EMA, after a 2-period RSI falls to 25 or below. Closes the long once the close is at or above the high from 2 bars earlier.

Mean reversionLong onlySwingSilver1 hour
3.57Profit factor
535,076Net profit USD
57.88%Win rate
4,822Trades
-34,416Max drawdown
111Avg trade

Best run of 14. Silver, 1 hour, spread 2, from run pf:2026-10-12-SILVER-1h.tsv:20.

Entry rules, long

  1. The close is at or above the 200-period exponential average.
  2. The close is below the high from 2 bars earlier.
  3. Signals are only checked after bar 200.

Exit rules

  1. No exit is taken while the close is below the 200-period EMA.

Test conditions

PeriodUp to 2026-10-12
InstrumentSilver, 1 hour
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 run1 hour3.57 4,82257.88535,076 USD-34,416
GoldDaily1.57 63264.402,520 EUR-587
Nikkei 225Dailyn/a 57269.7642,809 USD-18,155
EUR/USD4 hoursn/a 1,75064.9139,894 USD-24,773
SilverDailyn/a 46963.3322,229 USD-10,747
DAX 40Dailyn/a 88962.7717,577 EUR-5,701
Dow JonesDailyn/a 80367.5016,799 EUR-12,746
Nasdaq 100Dailyn/a 67363.6014,856 EUR-5,430
Dow Jones4 hoursn/a 56468.0912,209 EUR-6,248
Dow Jones1 hourn/a 1,83666.9910,081 EUR-5,098
US Crude Oil4 hoursn/a 94266.774,780 EUR-3,552
S&P 500Dailyn/a 85462.414,181 EUR-1,220
FTSE 100Dailyn/a 63767.354,070 EUR-3,544
FTSE 1004 hoursn/a 1,44866.573,980 EUR-2,252

Charts

Results by run

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

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// RSI Two Pullback Above EMA
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

myRsi = RSI[2](close)
ema = ExponentialAverage[200](close)

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

EMARSI
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run RSI Two Pullback Above EMA 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 14 market and timeframe combinations. The best run was Silver, 1 hour, with a profit factor of 3.57 over 4,822 trades.

How large was the drawdown?

The best run had a maximum drawdown of 34,416 USD at the tested position size, against a net result of 535,076 USD.

Does it trade long, short or both?

It only takes long trades.

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

Regime Filtered RSI Dip

Also a mean reversion strategy.

3.57 PF · 100 trades

See how ProRealAlgos combines strategies like this into one automated portfolio.

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