Join waitlist
Strategies / Pattern / Five Bar Bullish Sequence RSI Reversal

Five Bar Bullish Sequence RSI Reversal

It buys when a bearish candle is followed by 5 bullish candles whose lows stay above its low, with RSI(14) above 40 and rising. The stop sits at the bearish candle's low, and the target is 1.5 times that risk.

PatternLong onlySwingBrent Crude4 hours
1.67Profit factor
7,584Net profit EUR
46.73%Win rate
107Trades
-1,835Max drawdown
70.88Avg trade

Best run of 25. Brent Crude, 4 hours, spread 3, from run pf:2026-10-04-BRENT-4h.tsv:1.

Entry rules, long

  1. The candle 5 bars ago is bearish, with its close below its open.
  2. Each close is above the previous close reduced by 0.05 percent.
  3. RSI(14) is above 40 and higher than on the prior bar.

Exit rules

  1. The profit target is 1.5 times that same risk distance from the entry.

Test conditions

PeriodUp to 2026-10-04
InstrumentBrent Crude, 4 hours
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
Brent CrudeBest run4 hours1.67 10746.737,584 EUR-1,835
Nasdaq 10030 min1.27 1,02738.5610,591 EUR-2,284
Nikkei 2254 hoursn/a 16344.7929,193 USD-8,173
SilverDailyn/a 4942.8615,990 USD-14,384
Nikkei 22510 minn/a 81541.9615,362 USD-7,596
Nikkei 2251 hourn/a 45842.1414,756 USD-8,536
Dow Jones4 hoursn/a 7145.0713,915 EUR-4,950
Dow Jones15 minn/a 84741.5612,580 EUR-5,157
Nasdaq 1004 hoursn/a 21345.5411,799 EUR-4,498
Nasdaq 10015 minn/a 1,16342.739,814 EUR-2,558
DAX 404 hoursn/a 20044.509,470 EUR-2,993
DAX 401 hourn/a 66042.589,300 EUR-2,771
Silver4 hoursn/a 15246.058,982 USD-8,607
Dow JonesDailyn/a 11044.557,208 EUR-6,675
Dow Jones1 hourn/a 25043.207,180 EUR-5,913
US Crude Oil4 hoursn/a 13548.156,314 EUR-2,267
Nasdaq 1001 hourn/a 70437.785,767 EUR-3,212
DAX 4030 minn/a 96240.444,891 EUR-2,526
Nasdaq 1005 minn/a 1,06542.543,844 EUR-3,296
S&P 5004 hoursn/a 19447.423,263 EUR-884
US Crude Oil3 minn/a 95736.991,832 EUR-1,672
Gold30 minn/a 94540.001,761 EUR-570
Gold4 hoursn/a 20450.491,341 EUR-465
S&P 50030 minn/a 76540.001,118 EUR-551
S&P 50015 minn/a 89941.38680 EUR-503

Charts

Results by run

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

// ==============================================================
// Five Bar Bullish Sequence RSI Reversal
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Pattern
// Direction: Long only
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

myN = 5
tol = 0.05
rr = 1.5

myRsi = RSI[14](close)

27 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
Longer historyRe-run on up to 1,000,000 barsBrent Crude · 4 hours · older data -271.50 EUR

Brent Crude had no history beyond the standard run, so both runs used 16,000 bars.

Brent Crude · 4 hours

Bars available16,000
Net, standard 200,000-bar run7,584.10 EUR
Net, long run7,312.60 EUR
Net on the older data alone-271.50 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 Five Bar Bullish Sequence RSI Reversal 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 25 market and timeframe combinations. The best run was Brent Crude, 4 hours, with a profit factor of 1.67 over 107 trades.

How large was the drawdown?

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

Hull Trend With ADX Filter

Best run on the same market, Brent Crude.

1.27 PF · 1,400 trades

Stochastic Reversal With Smoothed RSI

Also a pattern strategy.

1.68 PF · 316 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

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