Join waitlist
Strategies / Momentum / Smoothed RSI Trend Crossover

Smoothed RSI Trend Crossover

The strategy buys when the 50-period average of RSI(21) crosses above 51 while the 10-period EMA is above the 20-period EMA. It sells short when that average crosses below 49 under the same EMA condition, with stops and targets set from recent 20-bar extremes.

MomentumLong & shortSwingS&P 5001 hour
1.49Profit factor
4,265Net profit EUR
34.97%Win rate
469Trades
-763Max drawdown
9.09Avg trade

Best run of 29. S&P 500, 1 hour, spread 1, from run pf:2026-10-04-USA500-1h.tsv:1.

Entry rules, long

  1. The 10-period EMA is above the 20-period EMA.
  2. The stop sits 5 ticks below the 20-bar low, and at least 20 ticks from the close.
  3. When flat, one contract is bought with a target at 2 times the stop distance.

Entry rules, short

  1. The 10-period EMA is above the 20-period EMA.
  2. The stop sits 5 ticks above the 20-bar high, and at least 20 ticks from the close.
  3. When flat, one contract is sold short with a target at 2 times the stop distance.

Exit rules

  1. The stop and target distances are fixed when the signal bar closes, and are measured from the fill.

Test conditions

PeriodUp to 2026-10-04
InstrumentS&P 500, 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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
S&P 500Best run1 hour1.49 46934.974,265 EUR-763
Nasdaq 10015 min1.28 81434.1514,461 EUR-2,639
Nikkei 22530 minn/a 77035.7138,267 USD-9,730
Nikkei 2251 hourn/a 37734.4835,166 USD-9,165
Nikkei 2254 hoursn/a 10636.7929,520 USD-12,191
Dow Jones1 hourn/a 15140.4019,571 EUR-6,622
Nasdaq 100Dailyn/a 4564.4419,042 EUR-4,272
Dow JonesDailyn/a 6344.4418,425 EUR-6,721
Nikkei 22515 minn/a 77733.3314,239 USD-12,292
Dow Jones4 hoursn/a 4742.5512,693 EUR-8,770
Nasdaq 1001 hourn/a 45332.2312,187 EUR-4,604
Dow Jones30 minn/a 28232.6211,875 EUR-5,484
DAX 40Dailyn/a 7338.3611,291 EUR-2,473
Nasdaq 10010 minn/a 78833.387,720 EUR-3,126
US Crude OilDailyn/a 5341.516,786 EUR-5,726
Nasdaq 10030 minn/a 75132.626,474 EUR-5,496
Nasdaq 1004 hoursn/a 14436.116,445 EUR-5,827
Brent CrudeDailyn/a 2045.005,547 EUR-4,859
DAX 4015 minn/a 87132.844,417 EUR-2,584
DAX 404 hoursn/a 11036.364,251 EUR-3,795
Nasdaq 1001 minn/a 69334.494,102 EUR-2,334
S&P 500Dailyn/a 5949.153,251 EUR-692
S&P 50030 minn/a 72933.062,710 EUR-1,014
S&P 5004 hoursn/a 13237.882,694 EUR-938
S&P 50015 minn/a 76031.452,023 EUR-696
Gold1 hourn/a 49038.371,767 EUR-1,179
Gold10 minn/a 83934.091,319 EUR-632
Gold5 minn/a 78434.441,029 EUR-872
GoldDailyn/a 5646.43983 EUR-593

Charts

Results by run

Top 10 of 29 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

// ==============================================================
// Smoothed RSI Trend Crossover
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long & short
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

emafast = ExponentialAverage[10](close)
emaslow = ExponentialAverage[20](close)
rsiraw = RSI[21](close)
rsismooth = Average[50](rsiraw)
swinglow = lowest[20](low)
swinghigh = highest[20](high)
tick = TICKSIZE

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

EMARSISMA
Longer historyRe-run on up to 1,000,000 barsS&P 500 · 1 hour · older data 52.22 EUR

S&P 500 had no history beyond the standard run, so both runs used 114,000 bars.

S&P 500 · 1 hour

Bars available114,000
Net, standard 200,000-bar run4,264.83 EUR
Net, long run4,317.05 EUR
Net on the older data alone52.22 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 Smoothed RSI Trend Crossover 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 29 market and timeframe combinations. The best run was S&P 500, 1 hour, with a profit factor of 1.49 over 469 trades.

How large was the drawdown?

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

CCI Sign With EMA Alignment

Best run on the same market, S&P 500.

1.23 PF · 1,253 trades

Oscillator Consensus Long

Also a momentum strategy.

1.49 PF · 404 trades

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

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