Join waitlist
Strategies / Mean reversion / Range Low Pullback

Range Low Pullback

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.

Mean reversionLong onlySwingSilver1 hour
4.54Profit factor
545,156Net profit USD
54.41%Win rate
5,302Trades
-29,167Max drawdown
103Avg trade

Best run of 11. Silver, 1 hour, spread 2, from run pf:2026-10-12-SILVER-1h.tsv:11.

Entry rules, long

  1. The close is below the 5 period simple moving average.
  2. The close is above the 100 period simple moving average.
  3. No position is open, and signals are evaluated only after bar 110.

Exit rules

  1. The close rises above the 5 period simple moving average while a long position is open, closing it by selling 1 contract at market.

Test conditions

PeriodUp to 2026-10-12
InstrumentSilver, 1 hour
Spread2 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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
SilverBest run1 hour4.54 5,30254.41545,156 USD-29,167
Nasdaq 100Daily1.73 64959.7810,602 EUR-2,311
US Crude OilDaily1.44 50968.9611,707 EUR-1,895
Nikkei 225Dailyn/a 51869.6928,152 USD-9,163
Dow JonesDailyn/a 66866.6218,444 EUR-5,304
Brent CrudeDailyn/a 22869.749,539 EUR-2,552
Dow Jones4 hoursn/a 53370.735,118 EUR-4,688
S&P 500Dailyn/a 75963.772,074 EUR-606
FTSE 100Dailyn/a 62567.201,478 EUR-1,475
S&P 5004 hoursn/a 1,62266.58972 EUR-769
GoldDailyn/a 55963.86730 EUR-694

Charts

Results by run

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

ProBuilder code, as tested

// ==============================================================
// 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

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

SMA
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run Range Low Pullback 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 11 market and timeframe combinations. The best run was Silver, 1 hour, with a profit factor of 4.54 over 5,302 trades.

How large was the drawdown?

The best run had a maximum drawdown of 29,166 USD at the tested position size, against a net result of 545,156 USD.

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

SMA Crossover With RSI Exit

Best run on the same market, Silver.

2.13 PF · 8,999 trades

Bollinger Zone Exit Long

Also a mean reversion strategy.

4.55 PF · 116 trades

Get the full rules, the complete code and the ProRealAlgos portfolio as a member.

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