Buys when average %K crosses above average %D while average %D is below 20, and sells short on the mirror cross while average %D is above 80. Longs close when average %D is above 80, and shorts close when it is below 20.
Best run of 5. S&P 500, 1 hour, spread 1, from run sweeps:2026-10-04-USA500-1h-opt.tsv:62.
| Period | Up to 2026-10-04 |
| Instrument | S&P 500, 1 hour |
| Spread | 1 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-07 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| S&P 500Best run | 1 hour | n/a | 1,894 | 63.36 | 2,763 EUR | -1,565 |
| Dow Jones | 1 hour | n/a | 618 | 65.21 | 19,249 EUR | -12,050 |
| Nasdaq 100 | 1 hour | n/a | 1,863 | 63.29 | 18,625 EUR | -6,425 |
| Nasdaq 100 | 4 hours | n/a | 553 | 66.37 | 9,925 EUR | -6,907 |
| FTSE 100 | Daily | n/a | 211 | 68.25 | 9,229 EUR | -3,622 |
Charts
The code
// ============================================================== // Smoothed Stochastic Crossover // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false ONCE rawk = 50 hh = highest[21](high) ll = lowest[21](low)
26 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 5 market and timeframe combinations. The best run by trade count was S&P 500, 1 hour, with 1,894 trades.
The best run had a maximum drawdown of 1,565 EUR at the tested position size, against a net result of 2,763 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.