Join waitlist
Strategies / Mean reversion / SMA Trend RSI Dip Buying

SMA Trend RSI Dip Buying

The strategy buys when price is above the 200-bar average and RSI(14) drops below 35, and sells when price is below that average and RSI(14) rises above 65. It uses no stop loss or profit target.

Mean reversionLong onlySwingNasdaq 1001 hour
1.94Profit factor
17,993Net profit EUR
43.09%Win rate
188Trades
-4,312Max drawdown
95.71Avg trade

Best run of 47. Nasdaq 100, 1 hour, spread 3, from run pf:2026-10-05-NAS100-1h.tsv:9.

Entry rules, long

  1. The close is above the 200-bar simple moving average

Exit rules

  1. The close is below the 200-bar simple moving average and RSI(14) is above 65

Test conditions

PeriodUp to 2026-10-05
InstrumentNasdaq 100, 1 hour
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-10

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best run1 hour1.94 18843.0917,993 EUR-4,312
S&P 5001 hour1.77 18742.783,639 EUR-895
Nikkei 22530 min1.57 28940.8335,236 USD-8,436
USD/JPY1 hourn/a 19443.81794,370 USD-288,250
USD/JPYDailyn/a 1850.00616,990 USD-512,850
USD/JPY30 minn/a 28940.14490,190 USD-223,180
USD/JPY15 minn/a 27942.65370,000 USD-117,130
USD/JPY10 minn/a 26644.36358,180 USD-177,500
USD/JPY5 minn/a 25945.17180,080 USD-157,250
USD/JPY2 minn/a 24144.81153,310 USD-53,550
USD/JPY3 minn/a 25545.10108,100 USD-88,230
Nikkei 225Dailyn/a 1643.7550,961 USD-20,571
Dow JonesDailyn/a 1566.6743,522 EUR-11,142
Nikkei 2254 hoursn/a 3839.4742,599 USD-11,963
Nikkei 2251 hourn/a 14047.1436,192 USD-14,567
DAX 40Dailyn/a 1963.1626,563 EUR-5,511
Nasdaq 100Dailyn/a 1190.9123,291 EUR-5,520
Nikkei 22515 minn/a 29241.1021,528 USD-14,327
Silver5 minn/a 26040.0021,197 USD-15,188
Nasdaq 1004 hoursn/a 4763.8315,679 EUR-4,780
DAX 401 hourn/a 15545.1614,800 EUR-4,477
Dow Jones30 minn/a 12048.3314,303 EUR-6,042
Dow Jones4 hoursn/a 1747.0614,217 EUR-5,533
Nasdaq 10030 minn/a 28243.9711,651 EUR-5,980
Dow Jones1 hourn/a 6450.0010,880 EUR-8,055
Brent Crude30 minn/a 18839.368,292 EUR-6,474
S&P 500Dailyn/a 1492.867,238 EUR-1,238
FTSE 100Dailyn/a 1163.646,428 EUR-3,643
US Crude Oil2 minn/a 26240.085,280 EUR-2,393
Brent Crude2 minn/a 24641.464,640 EUR-1,719
Brent Crude3 minn/a 28337.104,351 EUR-2,341
GoldDailyn/a 1464.294,322 EUR-1,534
S&P 5004 hoursn/a 4555.563,840 EUR-1,205
FTSE 1001 hourn/a 16439.023,162 EUR-2,921
S&P 50030 minn/a 26747.192,926 EUR-1,040
US Crude Oil1 minn/a 24537.142,601 EUR-1,991
Gold4 hoursn/a 5145.102,328 EUR-1,345
Gold1 hourn/a 17937.432,110 EUR-935
Gold2 minn/a 24641.871,961 EUR-670
Gold10 minn/a 27639.861,894 EUR-1,194
Gold3 minn/a 26441.671,836 EUR-661
Gold5 minn/a 26243.131,771 EUR-1,136
Gold15 minn/a 27041.111,742 EUR-1,237
Gold30 minn/a 27038.891,718 EUR-1,239
FTSE 1005 minn/a 26544.151,011 EUR-989
GBP/USD5 minn/a 26041.15887 USD-722
S&P 5001 minn/a 22137.10431 EUR-315

Charts

Results by run

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

// ==============================================================
// SMA Trend RSI Dip Buying
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

sma = Average[200](close)
myRsi = RSI[14](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
Longer historyRe-run on up to 1,000,000 barsNasdaq 100 · 1 hour · older data 429.20 EUR

Nasdaq 100 had no history beyond the standard run, so both runs used 114,000 bars.

Nasdaq 100 · 1 hour

Bars available114,000
Net, standard 200,000-bar run17,993.40 EUR
Net, long run18,422.60 EUR
Net on the older data alone429.20 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 SMA Trend RSI Dip Buying 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 47 market and timeframe combinations. The best run was Nasdaq 100, 1 hour, with a profit factor of 1.94 over 188 trades.

How large was the drawdown?

The best run had a maximum drawdown of 4,312 EUR at the tested position size, against a net result of 17,993 EUR.

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

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

Three Bar Pullback Trend Buyer

Also a mean reversion strategy.

1.94 PF · 637 trades

Get the full rules, the complete code and the ProRealAlgos portfolio as a member.

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