The strategy buys 1 contract when the close is below the 5 bar average, sits in the lowest 20% of its bar range, and stays above the 100 bar average. It closes the long when the close rises above the 5 bar average.
Best run of 11. Silver, 1 hour, spread 2, from run pf:2026-10-12-SILVER-1h.tsv:11.
| Period | Up to 2026-10-12 |
| Instrument | Silver, 1 hour |
| Spread | 2 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| SilverBest run | 1 hour | 4.54 | 5,302 | 54.41 | 545,156 USD | -29,167 |
| Nasdaq 100 | Daily | 1.73 | 649 | 59.78 | 10,602 EUR | -2,311 |
| US Crude Oil | Daily | 1.44 | 509 | 68.96 | 11,707 EUR | -1,895 |
| Nikkei 225 | Daily | n/a | 518 | 69.69 | 28,152 USD | -9,163 |
| Dow Jones | Daily | n/a | 668 | 66.62 | 18,444 EUR | -5,304 |
| Brent Crude | Daily | n/a | 228 | 69.74 | 9,539 EUR | -2,552 |
| Dow Jones | 4 hours | n/a | 533 | 70.73 | 5,118 EUR | -4,688 |
| S&P 500 | Daily | n/a | 759 | 63.77 | 2,074 EUR | -606 |
| FTSE 100 | Daily | n/a | 625 | 67.20 | 1,478 EUR | -1,475 |
| S&P 500 | 4 hours | n/a | 1,622 | 66.58 | 972 EUR | -769 |
| Gold | Daily | n/a | 559 | 63.86 | 730 EUR | -694 |
Charts
Top 10 of 11 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Range Low Pullback // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false fast = Average[5](close) slow = Average[100](close) thr = low + 0.2 * (high - low)
10 more lines: the entry and exit rules.
Setup
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 11 market and timeframe combinations. The best run was Silver, 1 hour, with a profit factor of 4.54 over 5,302 trades.
The best run had a maximum drawdown of 29,166 USD at the tested position size, against a net result of 545,156 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.