The system buys when a stochastic-based close reversal agrees with a 20-period channel width narrower than its 22-period average, and sells short when the reversal is bearish and the width is wider than that average. Positions close when the states disagree.
Best run of 4. Silver, 1 hour, spread 2, from run pf:2026-10-12-SILVER-1h.tsv:27.
| 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 | 2.75 | 4,649 | 44.20 | 569,246 USD | -37,516 |
| USD/JPY | Daily | n/a | 546 | 51.10 | 1,351,540 USD | -766,520 |
| Nikkei 225 | Daily | n/a | 447 | 52.57 | 26,355 USD | -14,216 |
| Dow Jones | 1 hour | n/a | 1,719 | 46.66 | 8,516 EUR | -7,607 |
Charts
The code
// ============================================================== // Reversal Pattern With Channel Width Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Volatility // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false ONCE posrev = 0 ONCE sincebad = 1000 ONCE postwo = 0 ll = lowest[14](low) hh = highest[14](high)
50 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 4 market and timeframe combinations. The best run was Silver, 1 hour, with a profit factor of 2.75 over 4,649 trades.
The best run had a maximum drawdown of 37,516 USD at the tested position size, against a net result of 569,246 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.