Buys when the 12-period CCI on the close falls below -90 and no position is open. Closes the long on the first bar that closes higher than the prior close.
Best run of 3. Nasdaq 100, Daily, spread 3, from run pf:2026-10-11-NAS100-D.tsv:6.
| Period | Up to 2026-10-11 |
| Instrument | Nasdaq 100, Daily |
| 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 | Daily | 1.77 | 944 | 54.45 | 16,384 EUR | -3,290 |
| Dow Jones | Daily | n/a | 1,258 | 58.27 | 17,816 EUR | -8,044 |
| S&P 500 | Daily | n/a | 1,286 | 50.31 | 2,331 EUR | -764 |
Charts
The code
// ============================================================== // CCI Oversold Dip Buy // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false myCci = CCI[12](close)
11 more lines: the entry and exit rules.
Setup
Nasdaq 100 had no history beyond the standard run, so both runs used 10,000 bars.
| Bars available | 10,000 |
| Net, standard 200,000-bar run | 16,383.50 EUR |
| Net, long run | 16,383.50 EUR |
| Net on the older data alone | 0.00 EUR |
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 3 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 1.77 over 944 trades.
The best run had a maximum drawdown of 3,290 EUR at the tested position size, against a net result of 16,384 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.