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.
Best run of 25. Brent Crude, 4 hours, spread 3, from run pf:2026-10-04-BRENT-4h.tsv:1.
| Period | Up to 2026-10-04 |
| Instrument | Brent Crude, 4 hours |
| Spread | 3 points |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-10-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Brent CrudeBest run | 4 hours | 1.67 | 107 | 46.73 | 7,584 EUR | -1,835 |
| Nasdaq 100 | 30 min | 1.27 | 1,027 | 38.56 | 10,591 EUR | -2,284 |
| Nikkei 225 | 4 hours | n/a | 163 | 44.79 | 29,193 USD | -8,173 |
| Silver | Daily | n/a | 49 | 42.86 | 15,990 USD | -14,384 |
| Nikkei 225 | 10 min | n/a | 815 | 41.96 | 15,362 USD | -7,596 |
| Nikkei 225 | 1 hour | n/a | 458 | 42.14 | 14,756 USD | -8,536 |
| Dow Jones | 4 hours | n/a | 71 | 45.07 | 13,915 EUR | -4,950 |
| Dow Jones | 15 min | n/a | 847 | 41.56 | 12,580 EUR | -5,157 |
| Nasdaq 100 | 4 hours | n/a | 213 | 45.54 | 11,799 EUR | -4,498 |
| Nasdaq 100 | 15 min | n/a | 1,163 | 42.73 | 9,814 EUR | -2,558 |
| DAX 40 | 4 hours | n/a | 200 | 44.50 | 9,470 EUR | -2,993 |
| DAX 40 | 1 hour | n/a | 660 | 42.58 | 9,300 EUR | -2,771 |
| Silver | 4 hours | n/a | 152 | 46.05 | 8,982 USD | -8,607 |
| Dow Jones | Daily | n/a | 110 | 44.55 | 7,208 EUR | -6,675 |
| Dow Jones | 1 hour | n/a | 250 | 43.20 | 7,180 EUR | -5,913 |
| US Crude Oil | 4 hours | n/a | 135 | 48.15 | 6,314 EUR | -2,267 |
| Nasdaq 100 | 1 hour | n/a | 704 | 37.78 | 5,767 EUR | -3,212 |
| DAX 40 | 30 min | n/a | 962 | 40.44 | 4,891 EUR | -2,526 |
| Nasdaq 100 | 5 min | n/a | 1,065 | 42.54 | 3,844 EUR | -3,296 |
| S&P 500 | 4 hours | n/a | 194 | 47.42 | 3,263 EUR | -884 |
| US Crude Oil | 3 min | n/a | 957 | 36.99 | 1,832 EUR | -1,672 |
| Gold | 30 min | n/a | 945 | 40.00 | 1,761 EUR | -570 |
| Gold | 4 hours | n/a | 204 | 50.49 | 1,341 EUR | -465 |
| S&P 500 | 30 min | n/a | 765 | 40.00 | 1,118 EUR | -551 |
| S&P 500 | 15 min | n/a | 899 | 41.38 | 680 EUR | -503 |
Charts
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
// ============================================================== // 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
Brent Crude had no history beyond the standard run, so both runs used 16,000 bars.
| Bars available | 16,000 |
| Net, standard 200,000-bar run | 7,584.10 EUR |
| Net, long run | 7,312.60 EUR |
| Net on the older data alone | -271.50 EUR |
Questions
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.
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.
The best run had a maximum drawdown of 1,835 EUR at the tested position size, against a net result of 7,584 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.