The strategy goes long while a 21-period average of a stochastic and RSI ratio rises, and goes short while it falls. It closes any position when the average is unchanged from the prior bar.
Best run of 4. Silver, 1 hour, spread 2, from run sweeps:2026-10-11-SILVER-1h-opt.tsv:21.
| Period | Up to 2026-10-11 |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| SilverBest run | 1 hour | n/a | 29,110 | 35.36 | 870,676 USD | -568,760 |
| USD/JPY | Daily | n/a | 3,300 | 46.45 | 1,114,500 USD | -912,760 |
| Dow Jones | Daily | n/a | 3,265 | 42.48 | 17,658 EUR | -15,464 |
| GBP/USD | Daily | n/a | 3,415 | 46.88 | 11,993 USD | -6,764 |
Charts
The code
// ============================================================== // Stochastic RSI Ratio Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false ONCE myK = 50 mom = close / close[9] * 100 myRsi = RSI[9](open) ll = lowest[9](low) hh = highest[9](high)
29 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 by trade count was Silver, 1 hour, with 29,110 trades.
The best run had a maximum drawdown of 568,760 USD at the tested position size, against a net result of 870,676 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.