Buys when the low undercuts the prior two bars' lows while the close is above the 20-bar average. Sells when the close rises above the highs of the prior two bars.
Best run of 9. Brent Crude, Daily, spread 3, from run pf:2026-10-04-BRENT-D.tsv:1.
| Period | Up to 2026-10-04 |
| Instrument | Brent Crude, Daily |
| 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-05 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Brent CrudeBest run | Daily | 1.58 | 345 | 66.96 | 16,625 EUR | -2,314 |
| Nikkei 225 | Daily | 1.54 | 745 | 69.80 | 52,727 USD | -9,941 |
| US Crude Oil | Daily | 1.43 | 699 | 69.38 | 18,259 EUR | -3,704 |
| Dow Jones | Daily | n/a | 955 | 69.42 | 22,766 EUR | -8,421 |
| Nasdaq 100 | Daily | n/a | 800 | 64.75 | 14,145 EUR | -4,077 |
| Dow Jones | 30 min | n/a | 4,852 | 67.60 | 13,915 EUR | -4,886 |
| FTSE 100 | Daily | n/a | 767 | 68.19 | 3,944 EUR | -2,078 |
| S&P 500 | Daily | n/a | 1,056 | 64.96 | 2,623 EUR | -1,357 |
| Gold | Daily | n/a | 814 | 64.86 | 1,974 EUR | -651 |
Charts
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Lower Low Dip Buyer // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false sma = Average[20](close)
11 more lines: the entry and exit rules.
Setup
Brent Crude had no history beyond the standard run, so both runs used 5,000 bars.
| Bars available | 5,000 |
| Net, standard 200,000-bar run | 16,625.10 EUR |
| Net, long run | 16,625.10 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 9 market and timeframe combinations. The best run was Brent Crude, Daily, with a profit factor of 1.58 over 345 trades.
The best run had a maximum drawdown of 2,314 EUR at the tested position size, against a net result of 16,625 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.