Join waitlist
Strategies / Mean reversion / RSI Extremes With EMA Filter

RSI Extremes With EMA Filter

Buys 1 contract when the 14 period RSI falls below 30 while the 150 period EMA is above the 600 period EMA, and sells short when the RSI rises above 70 under the same filter. Exits on the opposite RSI extreme.

Mean reversionLong & shortSwingDow JonesDaily
2.75Profit factor
50,347Net profit EUR
72.00%Win rate
100Trades
-9,477Max drawdown
503Avg trade

Best run of 15. Dow Jones, Daily, spread 3, from run pf:2026-10-04-DOW30-D.tsv:11.

Entry rules, long

  1. Any open short is reversed into a long on this signal.

Entry rules, short

  1. Any open long is reversed into a short on this signal.

Exit rules

  1. The 14 period RSI is below 30 while the 150 period EMA is at or below the 600 period EMA, closing the short.

Test conditions

PeriodUp to 2026-10-04
InstrumentDow Jones, Daily
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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Dow JonesBest runDaily2.75 10072.0050,347 EUR-9,477
FTSE 1005 min1.31 1,07867.073,909 EUR-689
EUR/USD10 minn/a 82162.9764,652 USD-27,877
Nikkei 2254 hoursn/a 16969.8234,569 USD-12,925
DAX 40Dailyn/a 9258.7014,632 EUR-8,788
Dow Jones4 hoursn/a 8068.7514,482 EUR-14,287
DAX 404 hoursn/a 22766.9612,480 EUR-5,392
Nasdaq 1004 hoursn/a 27566.5511,904 EUR-4,834
FTSE 100Dailyn/a 7074.298,555 EUR-4,740
Dow Jones1 minn/a 86566.137,639 EUR-2,618
FTSE 1004 hoursn/a 18064.445,640 EUR-2,764
FTSE 1001 hourn/a 64664.243,911 EUR-2,512
DAX 401 minn/a 83864.202,409 EUR-1,549
S&P 5004 hoursn/a 22766.521,734 EUR-1,298
S&P 5001 hourn/a 83362.671,238 EUR-1,183

Charts

Results by run

Top 10 of 15 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 Extremes With EMA Filter
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long & short
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

myRsi = RSI[14](close)
emafast = ExponentialAverage[150](close)
emaslow = ExponentialAverage[600](close)

21 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
Longer historyRe-run on up to 1,000,000 barsFTSE 100 · 5 min · older data 456.70 EUR

On the long run with 940,000 bars the net result was 4,366 EUR, against 3,909 EUR on the standard 200,000-bar run. The older data alone gave 457 EUR.

FTSE 100 · 5 min

Bars available940,000
Net, standard 200,000-bar run3,908.80 EUR
Net, long run4,365.50 EUR
Net on the older data alone456.70 EUR
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 Extremes With EMA 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 15 market and timeframe combinations. The best run was Dow Jones, Daily, with a profit factor of 2.75 over 100 trades.

How large was the drawdown?

The best run had a maximum drawdown of 9,476 EUR at the tested position size, against a net result of 50,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

Turtle Trade

Best run on the same market, Dow Jones.

2.42 PF · 6,324 trades

Rate of Change Band Reversion

Also a mean reversion strategy.

2.76 PF · 189 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