The strategy buys when the 20-bar rate of change is above 3% and volume is above its 20-bar average. It sells when the 20-bar rate of change turns negative.
Best run of 8. Silver, 4 hours, spread 2, from run sweeps:2026-10-07-SILVER-4h-opt.tsv:26.
| Period | Up to 2026-10-07 |
| Instrument | Silver, 4 hours |
| 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| SilverBest run | 4 hours | n/a | 396 | 41.67 | 20,214 USD | -12,913 |
| USD/JPY | Daily | n/a | 39 | 46.15 | 339,680 USD | -147,500 |
| EUR/USD | 2 min | n/a | 20 | 60.00 | 80,057 USD | -76,440 |
| Nikkei 225 | Daily | n/a | 57 | 40.35 | 19,145 USD | -9,795 |
| Nasdaq 100 | Daily | n/a | 60 | 48.33 | 9,874 EUR | -3,704 |
| Nikkei 225 | 4 hours | n/a | 114 | 46.49 | 8,875 USD | -6,252 |
| Gold | Daily | n/a | 68 | 44.12 | 1,422 EUR | -1,031 |
| S&P 500 | Daily | n/a | 50 | 54.00 | 1,417 EUR | -987 |
Charts
The code
// ============================================================== // Rate Of Change Volume Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false myRoc = 100 * (close / close[20] - 1) volsma = Average[20](volume)
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 8 market and timeframe combinations. The best run by trade count was Silver, 4 hours, with 396 trades.
The best run had a maximum drawdown of 12,913 USD at the tested position size, against a net result of 20,214 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.