Combines z-scores of the 14 period RSI and 14 period CCI into one line, then trades its crossings of a 14 period band. Buys when the line crosses over the lower band and sells when it crosses under the upper band, long only.
Best run of 7. Nasdaq 100, 4 hours, spread 3, from run sweeps:2026-10-11-NAS100-4h-opt.tsv:22.
| Period | Up to 2026-10-11 |
| Instrument | Nasdaq 100, 4 hours |
| Spread | 3 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 |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | 4 hours | n/a | 1,383 | 59.07 | 12,814 EUR | -4,546 |
| Dow Jones | Daily | n/a | 592 | 61.99 | 19,192 EUR | -8,913 |
| DAX 40 | 4 hours | n/a | 1,309 | 59.43 | 16,713 EUR | -4,193 |
| Nasdaq 100 | Daily | n/a | 458 | 60.26 | 14,821 EUR | -4,863 |
| US Crude Oil | Daily | n/a | 496 | 57.46 | 8,838 EUR | -8,102 |
| S&P 500 | Daily | n/a | 627 | 61.24 | 3,966 EUR | -1,027 |
| S&P 500 | 4 hours | n/a | 1,381 | 59.88 | 3,178 EUR | -869 |
Charts
The code
// ============================================================== // RSI CCI Z Score Band // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false ONCE comb = 0 myRsi = RSI[14](close) ma = Average[14](close) myMd = 0 FOR myJ = 0 TO 13 DO myMd = myMd + ABS(close[myJ] - ma) NEXT myMd = myMd / 14
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 7 market and timeframe combinations. The best run by trade count was Nasdaq 100, 4 hours, with 1,383 trades.
The best run had a maximum drawdown of 4,546 EUR at the tested position size, against a net result of 12,814 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.