Join waitlist
Strategies / Mean reversion / Three Bar RSI Extremes

Three Bar RSI Extremes

Buys when the 14-period RSI has been at or below 25 for three consecutive bars, and sells when it has been at or above 75 for three consecutive bars. Holds one contract, long only.

Mean reversionLong onlyIntradayDAX 4030 min
n/aProfit factor
13,358Net profit EUR
67.33%Win rate
251Trades
-7,358Max drawdown
53.22Avg trade

Best run of 50. DAX 40, 30 min, spread 3, from run sweeps:2026-10-04-DAX40-30m-opt.tsv:26.

Entry rules, long

Exit rules

  1. RSI(14) is at or above 75 on the current bar and on each of the two previous bars, closing the long position

Test conditions

PeriodUp to 2026-10-04
InstrumentDAX 40, 30 minutes
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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
DAX 40Best run30 minn/a 25167.3313,358 EUR-7,358
USD/JPY1 hourn/a 15261.84251,270 USD-226,800
Nikkei 225Dailyn/a 1090.0035,073 USD-12,971
Nikkei 2251 hourn/a 11471.0527,876 USD-11,290
Nikkei 22530 minn/a 21464.4924,816 USD-9,419
Dow Jones4 hoursn/a 1668.7523,442 EUR-10,157
Nikkei 2252 minn/a 18466.8519,448 USD-7,717
Nikkei 22515 minn/a 19560.5119,133 USD-11,505
Nikkei 2255 minn/a 18061.6718,050 USD-10,175
Dow Jones15 minn/a 16867.2618,046 EUR-10,456
Nikkei 2253 minn/a 17664.7715,392 USD-8,124
Nasdaq 1001 hourn/a 18572.9714,581 EUR-5,566
Dow Jones30 minn/a 9665.6214,172 EUR-10,463
Dow Jones1 hourn/a 5269.2314,096 EUR-10,431
Nasdaq 1004 hoursn/a 3781.0813,832 EUR-4,478
Dow JonesDailyn/a 10100.0011,673 EUR-8,615
Dow Jones5 minn/a 18367.7610,926 EUR-6,768
Nasdaq 10030 minn/a 23669.0710,048 EUR-7,548
DAX 40Dailyn/a 1384.629,556 EUR-3,924
Dow Jones3 minn/a 16861.319,300 EUR-6,026
DAX 404 hoursn/a 3974.369,124 EUR-5,124
FTSE 100Dailyn/a 1090.008,830 EUR-2,864
Dow Jones2 minn/a 15864.567,311 EUR-3,104
DAX 401 hourn/a 15065.336,901 EUR-5,461
DAX 4010 minn/a 17664.775,889 EUR-3,655
FTSE 10030 minn/a 21269.815,723 EUR-2,660
FTSE 1004 hoursn/a 2777.785,577 EUR-2,818
Dow Jones1 minn/a 12963.575,304 EUR-2,105
Nasdaq 1002 minn/a 16758.684,825 EUR-2,731
Brent Crude2 minn/a 17369.364,812 EUR-1,836
DAX 403 minn/a 16367.484,752 EUR-4,382
FTSE 1001 hourn/a 12272.134,553 EUR-2,815
S&P 5004 hoursn/a 3083.334,254 EUR-1,298
S&P 500Dailyn/a 1788.244,182 EUR-907
Brent Crude10 minn/a 17063.534,075 EUR-3,292
Brent Crude3 minn/a 18466.853,824 EUR-2,565
S&P 5001 hourn/a 17175.443,760 EUR-1,314
FTSE 10010 minn/a 17163.742,918 EUR-1,509
DAX 401 minn/a 13465.672,764 EUR-1,105
Nasdaq 100Dailyn/a 7100.002,657 EUR-916
S&P 50030 minn/a 21369.482,464 EUR-1,314
FTSE 1005 minn/a 18565.951,817 EUR-1,038
FTSE 1003 minn/a 17465.521,743 EUR-1,039
S&P 5003 minn/a 15464.941,642 EUR-1,001
S&P 5005 minn/a 16663.861,579 EUR-1,316
S&P 5002 minn/a 12866.411,168 EUR-389
GoldDailyn/a 1580.001,168 EUR-335
FTSE 1002 minn/a 17467.241,136 EUR-903
Gold1 hourn/a 14261.97847 EUR-767
S&P 5001 minn/a 10358.25468 EUR-380

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Three Bar RSI Extremes
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: 30 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

myRsi = RSI[14](close)

13 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 weaknesses3 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 7,358 EUR is large next to the net profit of 13,358 EUR.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run Three Bar RSI Extremes 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 50 market and timeframe combinations. The best run by trade count was DAX 40, 30 minutes, with 251 trades.

How large was the drawdown?

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

Heikin Ashi Color Flip

Best run on the same market, DAX 40.

1.12 PF · 3,692 trades

ATR Band

Also a mean reversion strategy.

10.31 PF · 53 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