Join waitlist
Strategies / Trend / SMA Trend RSI Pullback

SMA Trend RSI Pullback

The strategy buys after a green bar when the 10-period SMA is above the 30-period SMA and RSI(8) is between 25 and 40. It sells short after a red bar when the SMA order reverses and RSI(8) is between 60 and 75.

TrendLong & shortIntradayEUR/USD3 min
n/aProfit factor
45,692Net profit USD
51.60%Win rate
1,440Trades
-27,539Max drawdown
31.73Avg trade

Best run of 14. EUR/USD, 3 min, spread 1, from run sweeps:2026-10-04-EURUSD-3m-opt.tsv:2.

Entry rules, long

  1. Conditions are read from the prior bar, and no long is open.

Entry rules, short

Exit rules

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

Test conditions

PeriodUp to 2026-10-04
InstrumentEUR/USD, 3 minutes
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
EUR/USDBest run3 minn/a 1,44051.6045,692 USD-27,539
USD/JPY30 minn/a 1,38854.54578,680 USD-275,220
Nikkei 2254 hoursn/a 22562.2228,101 USD-23,175
Nikkei 2251 hourn/a 76254.0726,505 USD-26,494
Nikkei 22530 minn/a 1,38152.9325,945 USD-11,504
Silver15 minn/a 1,25353.0724,394 USD-17,219
GBP/USDDailyn/a 12661.9015,608 USD-12,375
DAX 4030 minn/a 1,37155.9415,472 EUR-6,797
Dow Jones15 minn/a 1,14356.6113,600 EUR-10,397
GBP/USD4 hoursn/a 42859.3512,373 USD-3,946
Nasdaq 1001 hourn/a 82952.477,551 EUR-5,985
FTSE 10015 minn/a 1,42153.554,424 EUR-2,114
GoldDailyn/a 14456.251,793 EUR-1,717
Gold5 minn/a 1,36255.511,243 EUR-1,241

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// SMA Trend RSI Pullback
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long & short
// Timeframe tested: 3 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

fast = Average[10](close)
slow = Average[30](close)
rsival = RSI[8](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

SMARSI
Read this firstKnown weaknesses3 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 27,539 USD is large next to the net profit of 45,692 USD.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run SMA Trend RSI Pullback 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 by trade count was EUR/USD, 3 minutes, with 1,440 trades.

How large was the drawdown?

The best run had a maximum drawdown of 27,539 USD at the tested position size, against a net result of 45,692 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

Slow MACD Slope

Best run on the same market, EUR/USD.

6.80 PF · 7,305 trades

ADX Filtered EMA Cross

Also a trend strategy.

1.15 PF · 607 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