Join waitlist
Strategies / Momentum / Filtered EMA RSI Momentum

Filtered EMA RSI Momentum

The strategy buys when the 20 EMA is above the 50 EMA, RSI(14) is 58 to 65, and MACD is above zero and its signal. It exits on RSI above 70, a close below the 20 EMA, the 1.5% stop or the 3% target.

MomentumLong onlySwingUSD/JPY1 hour
n/aProfit factor
353,090Net profit USD
40.09%Win rate
3,003Trades
-115,350Max drawdown
118Avg trade

Best run of 12. USD/JPY, 1 hour, spread 1, from run sweeps:2026-10-10-USDJPY-1h-opt.tsv:10.

Entry rules, long

  1. The 20 period EMA is above the 50 period EMA.
  2. The MACD, the 12 period EMA minus the 26 period EMA, is above its 9 period EMA signal and above 0.
  3. While flat, and no new entry follows until an exit signal has occurred.
  4. Signals are evaluated only after bar 60.

Exit rules

  1. The trade closes when RSI(14) is above 70.
  2. The trade closes at a price 1.5% below the entry price.
  3. The trade closes at a price 3% above the entry price.

Test conditions

PeriodUp to 2026-10-10
InstrumentUSD/JPY, 1 hour
Spread1 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-10

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
USD/JPYBest run1 hourn/a 3,00340.09353,090 USD-115,350
USD/JPYDailyn/a 31741.01862,870 USD-318,260
Nikkei 2254 hoursn/a 62239.3910,884 USD-6,111
Dow Jones1 hourn/a 82340.467,913 EUR-2,578
DAX 404 hoursn/a 69940.775,248 EUR-2,618
Nasdaq 1004 hoursn/a 76043.295,044 EUR-2,998
GBP/USDDailyn/a 29540.004,323 USD-2,766
Brent Crude4 hoursn/a 43940.322,503 EUR-2,294
FTSE 100Dailyn/a 32242.242,476 EUR-1,095
US Crude OilDailyn/a 30739.412,244 EUR-1,081
Gold1 hourn/a 2,55539.731,309 EUR-642
GoldDailyn/a 32641.10562 EUR-283

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Filtered EMA RSI Momentum
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long only
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE intrade = 0

emafast = ExponentialAverage[20](close)
emaslow = ExponentialAverage[50](close)
myRsi = RSI[14](close)
myMacd = ExponentialAverage[12](close) - ExponentialAverage[26](close)
sig = ExponentialAverage[9](myMacd)

19 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

EMARSIMACD
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 Filtered EMA RSI Momentum 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 12 market and timeframe combinations. The best run by trade count was USD/JPY, 1 hour, with 3,003 trades.

How large was the drawdown?

The best run had a maximum drawdown of 115,350 USD at the tested position size, against a net result of 353,090 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

EMA 8 21 RSI Filtered Bracket

Best run on the same market, USD/JPY.

1.09 PF · 6,194 trades

ATR Momentum

Also a momentum strategy.

n/a PF · 15,021 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