Join waitlist
Strategies / Mean reversion / Rolling VWAP Oversold RSI Reversion

Rolling VWAP Oversold RSI Reversion

The strategy buys when the close falls below the lower band of a 20-bar rolling VWAP and RSI readings are oversold. Each trade exits at a 2% profit target or a 15% stop loss.

Mean reversionLong onlySwingSilver4 hours
n/aProfit factor
8,774Net profit USD
92.54%Win rate
67Trades
-5,072Max drawdown
131Avg trade

Best run of 34. Silver, 4 hours, spread 2, from run sweeps:2026-10-07-SILVER-4h-opt.tsv:9.

Entry rules, long

  1. The highest open of the last 4 bars is more than 4% above the close.
  2. The 20-bar CTI, a correlation of close with time, is below -0.8.
  3. The 14-period RSI is below 35, and the 84- and 112-period RSIs are below 60.

Exit rules

  1. The position closes at a 2% profit target or a 15% stop loss.

Test conditions

PeriodUp to 2026-10-07
InstrumentSilver, 4 hours
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-07

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
SilverBest run4 hoursn/a 6792.548,774 USD-5,072
USD/JPY4 hoursn/a 1100.0018,500 USD-0.00
Nikkei 2254 hoursn/a 11100.007,588 USD-3,845
Silver3 minn/a 8100.007,099 USD-5,872
Silver2 minn/a 8100.007,001 USD-3,905
Nasdaq 1004 hoursn/a 12100.003,031 EUR-1,196
Dow Jones1 hourn/a 6100.002,773 EUR-2,379
EUR/USDDailyn/a 1100.002,229 USD-0.00
Brent Crude4 hoursn/a 4490.912,183 EUR-1,974
Brent Crude15 minn/a 1794.121,574 EUR-499
Dow Jones30 minn/a 3100.001,509 EUR-846
Nikkei 22510 minn/a 2100.001,227 USD-0.00
Nikkei 2255 minn/a 2100.001,227 USD-243
US Crude Oil15 minn/a 3691.671,195 EUR-852
Nikkei 22515 minn/a 2100.00942 USD-110
FTSE 1004 hoursn/a 6100.00783 EUR-496
Dow Jones15 minn/a 2100.00769 EUR-1.50
Brent Crude10 minn/a 4100.00753 EUR-23.00
Nasdaq 10030 minn/a 2100.00471 EUR-440
GBP/USDDailyn/a 2100.00448 USD-78.10
S&P 5004 hoursn/a 7100.00423 EUR-323
Gold1 hourn/a 1090.00308 EUR-154
Nasdaq 10015 minn/a 2100.00272 EUR-1.50
GBP/USD30 minn/a 1100.00269 USD-206
GBP/USD4 hoursn/a 1100.00232 USD-170
GBP/USD1 hourn/a 1100.00208 USD-66.30
Gold30 minn/a 3100.00200 EUR-52.30
Brent Crude3 minn/a 1100.00170 EUR-0.00
DAX 4030 minn/a 1100.00169 EUR-0.00
S&P 50030 minn/a 2100.00141 EUR-126
Gold5 minn/a 1100.00103 EUR-82.70
Gold2 minn/a 1100.00103 EUR-0.00
FTSE 10030 minn/a 1100.0099.40 EUR-0.00
S&P 50015 minn/a 2100.0092.70 EUR-0.50

Charts

Results by run

Top 10 of 34 runs. The full list is in the table above.

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Rolling VWAP Oversold RSI Reversion
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

tp = (high + low + close) / 3
vt = volume * tp
num = Summation[20](vt)
den = Summation[20](volume)

40 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

VWAPStandard DeviationRSIVolume
Read this firstKnown weaknesses3 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The best run has only 67 trades, which is a small sample to judge it on.
  • The maximum drawdown of 5,072 USD is large next to the net profit of 8,774 USD.

Questions

About this strategy

Can I run Rolling VWAP Oversold RSI Reversion 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 34 market and timeframe combinations. The best run by trade count was Silver, 4 hours, with 67 trades.

How large was the drawdown?

The best run had a maximum drawdown of 5,072 USD at the tested position size, against a net result of 8,774 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

ATR Band

Also a mean reversion strategy.

10.31 PF · 53 trades

See how ProRealAlgos combines strategies like this into one automated portfolio.

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