Join waitlist
Strategies / Mean reversion / RSI Oversold Time Exit

RSI Oversold Time Exit

Buys when RSI(10) falls below 30 and no long is open. Closes the long when RSI(10) rises above 40 or after 10 bars pass since the last oversold reading.

Mean reversionLong onlySwingNasdaq 100Daily
6.45Profit factor
10,959Net profit EUR
71.79%Win rate
156Trades
-2,396Max drawdown
70.25Avg trade

Best run of 10. Nasdaq 100, Daily, spread 3, from run pf:2026-10-12-NAS100-D.tsv:9.

Entry rules, long

  1. A buy is taken only when no long position is open.

Exit rules

  1. 10 or more bars have passed since the last bar on which RSI(10) was below 30.

Test conditions

PeriodUp to 2026-10-12
InstrumentNasdaq 100, 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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best runDaily6.45 15671.7910,959 EUR-2,396
Nikkei 2254 hoursn/a 42166.7515,832 USD-7,133
Nikkei 225Dailyn/a 18071.1111,395 USD-7,580
Nasdaq 1004 hoursn/a 55768.589,196 EUR-3,268
Dow JonesDailyn/a 21067.147,589 EUR-7,252
Dow Jones4 hoursn/a 18971.436,865 EUR-4,942
FTSE 100Dailyn/a 19376.686,599 EUR-1,690
Dow Jones1 hourn/a 74668.366,397 EUR-5,882
S&P 5004 hoursn/a 56668.201,972 EUR-627
S&P 500Dailyn/a 23964.021,827 EUR-778

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// RSI Oversold Time Exit
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE bs = 0

myRsi = RSI[10](close)

16 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

RSI
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 Oversold Time Exit 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 10 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 6.45 over 156 trades.

How large was the drawdown?

The best run had a maximum drawdown of 2,396 EUR at the tested position size, against a net result of 10,959 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

MACD Exhaustion

Also a mean reversion strategy.

6.35 PF · 33 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