Buys when the cycle stochastic signal turns down and sells short when it turns up, reversing the trade each time. Any position still losing after more than 8 bars since entry is closed.
Best run of 2. Silver, 1 hour, spread 2, from run sweeps:2026-10-11-SILVER-1h-opt.tsv:5.
| 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 | 20,879 | 46.10 | 976,294 USD | -734,453 |
| FTSE 100 | Daily | n/a | 2,138 | 56.27 | 7,759 EUR | -5,257 |
Charts
The code
// ============================================================== // Cyber Cycle Stochastic Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false ONCE alpha = 0.07 ONCE cycle = 0 ONCE valueone = 0.5 ONCE bse = 0 src = MedianPrice smooth = (src + 2 * src[1] + 2 * src[2] + src[3]) / 6
43 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 2 market and timeframe combinations. The best run by trade count was Silver, 1 hour, with 20,879 trades.
The best run had a maximum drawdown of 734,452 USD at the tested position size, against a net result of 976,294 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.