The strategy buys 1 contract when the candle 5 bars ago was bearish and the last 5 candles are bullish, each closing above the prior close. The stop sits at the bearish candle's low and the target is 1.5 times the risk.
Best run of 24. Nasdaq 100, 30 min, spread 3, from run pf:2026-10-04-NAS100-30m.tsv:1.
| Period | Up to 2026-10-04 |
| Instrument | Nasdaq 100, 30 minutes |
| 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 |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | 30 min | 1.34 | 976 | 39.55 | 12,719 EUR | -2,071 |
| Nikkei 225 | 4 hours | n/a | 148 | 45.27 | 28,473 USD | -8,173 |
| Silver | Daily | n/a | 44 | 43.18 | 16,064 USD | -14,384 |
| Nikkei 225 | 10 min | n/a | 758 | 41.82 | 14,996 USD | -7,589 |
| Dow Jones | 4 hours | n/a | 70 | 45.71 | 14,306 EUR | -4,950 |
| Dow Jones | 15 min | n/a | 830 | 41.45 | 12,814 EUR | -5,417 |
| Nasdaq 100 | 4 hours | n/a | 206 | 45.63 | 11,881 EUR | -4,498 |
| Nasdaq 100 | 15 min | n/a | 1,152 | 43.14 | 10,267 EUR | -2,596 |
| Nikkei 225 | 1 hour | n/a | 412 | 40.29 | 10,038 USD | -8,536 |
| DAX 40 | 1 hour | n/a | 626 | 43.13 | 9,797 EUR | -2,596 |
| DAX 40 | 4 hours | n/a | 196 | 45.41 | 9,648 EUR | -2,515 |
| Silver | 5 min | n/a | 910 | 35.71 | 9,535 USD | -7,821 |
| Dow Jones | Daily | n/a | 107 | 45.79 | 8,417 EUR | -5,947 |
| Brent Crude | 4 hours | n/a | 105 | 45.71 | 7,071 EUR | -1,835 |
| US Crude Oil | 4 hours | n/a | 134 | 48.51 | 6,240 EUR | -2,267 |
| DAX 40 | 30 min | n/a | 916 | 40.50 | 5,029 EUR | -2,609 |
| Nasdaq 100 | 1 hour | n/a | 674 | 37.09 | 4,547 EUR | -3,109 |
| S&P 500 | 4 hours | n/a | 190 | 46.84 | 3,253 EUR | -884 |
| USD/JPY | Daily | n/a | 111 | 45.05 | 3,030 USD | -2,980 |
| US Crude Oil | 3 min | n/a | 897 | 37.46 | 1,697 EUR | -1,479 |
| Gold | 30 min | n/a | 925 | 38.81 | 1,533 EUR | -696 |
| Gold | 4 hours | n/a | 201 | 49.75 | 1,250 EUR | -465 |
| S&P 500 | 30 min | n/a | 705 | 39.43 | 1,047 EUR | -584 |
| S&P 500 | 15 min | n/a | 862 | 42.00 | 701 EUR | -536 |
Charts
Top 10 of 24 runs. The full list is in the table above.
The code
// ============================================================== // 5 Bar Bullish Sequence // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long only // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false myN = 5 rr = 1.5
25 more lines: the entry and exit rules.
Setup
On the long run with 228,000 bars the net result was 12,719 EUR, against 12,719 EUR on the standard 200,000-bar run. The older data alone gave 0 EUR.
| Bars available | 228,000 |
| Net, standard 200,000-bar run | 12,719.00 EUR |
| Net, long run | 12,719.00 EUR |
| Net on the older data alone | 0.00 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 24 market and timeframe combinations. The best run was Nasdaq 100, 30 minutes, with a profit factor of 1.34 over 976 trades.
The best run had a maximum drawdown of 2,071 EUR at the tested position size, against a net result of 12,719 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.