CCI Mean Reversion
Uses Commodity Channel Index to identify oversold conditions. Enters long when CCI falls below -100 (oversold) and exits when CCI returns to neutral (0). Includes max holding period and extreme stop.
At a glance
What the backtest shows
- Beat buy-and-hold on 3 of 10 markets by annual return over 5 years.
- Had a smaller maximum drawdown than buy-and-hold on 10 of 10 markets.
- Best market by Sharpe ratio: USO (Sharpe 1.36, CAGR 26.5%).
- Weakest market: EURUSD=X (Sharpe -0.27, CAGR -1.3%).
Equity curve
Score and risk profile
Each bar is a percentile against every strategy on the same market and window (100 = best).
How it held up in sell-offs (SPY)
| Period | Strategy | Buy & hold |
|---|---|---|
| Q4 2018 sell-off | -9.2% | -19.2% |
| COVID crash (Feb–Mar 2020) | -35.4% | -33.7% |
| 2022 bear market | -11.5% | -24.5% |
| Market above its 200-day average (annualized) · 81% | +4.0% | +12.5% |
| Market below its 200-day average (annualized) · 19% | -0.8% | +19.8% |
Sell-off dates follow the US stock market. Above/below the 200-day average uses the previous day's position, so there is no look-ahead.
Out-of-sample check (SPY)
| Check | Value |
|---|---|
| Chosen parameters on their 3-year training windows (average Sharpe) | 0.57 |
| Same parameters in the following 6 months, when traded (Sharpe) | 0.37 |
| Default parameters over the same months (Sharpe) | 0.37 |
| Parameter re-selections / changes | 28 / 10 |
| Parameter settings with a positive Sharpe (full history) | 9 of 9 |
| Sharpe across settings: worst / median / best | 0.26 / 0.34 / 0.42 |
Out-of-sample periods start on 2013-01-04. Training-window figures are flattered by picking the best of 9 settings; the out-of-sample figure is what the strategy actually earned. A large drop, or a result that depends on one setting, points to overfitting. How walk-forward testing works.
Results by market (5 years)
| Market | CAGR | Buy & hold CAGR | Sharpe | Max drawdown | Buy & hold max DD | Volatility | Arena Score |
|---|---|---|---|---|---|---|---|
| USOUnited States Oil Fund | 26.5% | 20.2% | 1.36 | -19.0% | -36.2% | 18.7% | 87 |
| GLDSPDR Gold Shares | 4.5% | 16.4% | 0.52 | -17.0% | -28.3% | 9.2% | 48 |
| DBCInvesco DB Commodity Index | 4.5% | 10.8% | 0.49 | -11.7% | -27.3% | 10.1% | 68 |
| SPYSPDR S&P 500 | 4.1% | 11.6% | 0.43 | -16.2% | -24.5% | 10.9% | 51 |
| DBAInvesco DB Agriculture | 2.8% | 8.8% | 0.42 | -9.3% | -15.9% | 7.4% | 55 |
| BTC-USDBitcoin | -1.0% | 2.6% | 0.10 | -50.6% | -75.9% | 25.9% | 43 |
| ETH-USDEthereum | -9.7% | -15.1% | -0.02 | -60.9% | -79.0% | 35.4% | 39 |
| SLViShares Silver Trust | -2.3% | 15.2% | -0.02 | -30.2% | -57.8% | 19.1% | 30 |
| UNGUnited States Natural Gas | -11.0% | -30.7% | -0.14 | -62.1% | -93.3% | 37.0% | 57 |
| EURUSD=XEUR/USD | -1.3% | -0.7% | -0.27 | -8.0% | -17.2% | 4.2% | 29 |
Strategy metrics use daily returns without trading costs. Buy-and-hold figures are for the same market and window. Rows are sorted by Sharpe ratio.
SPY across time windows
Rules
Entry
Buy when CCI < -100 (oversold)
Exit
Exit when CCI >= 0 Or max holding period reached Or CCI < -200 (extreme stop)
Indicators
Typical Price = (H+L+C)/3 CCI = (TP - SMA) / (0.015 * Mean Deviation)
Inputs
Period = 20 Oversold = -100 Exit_Level = 0 Max_Hold = 15
Position sizing
Fixed 100% allocation
Risk controls
Stop at CCI < -200 Max hold 15 days
Strategy evidence
- BTC-USD · Inspect evidence 2026-11-10
- DBA · Inspect evidence 2026-11-10
- DBC · Inspect evidence 2026-11-10
- ETH-USD · Inspect evidence 2026-11-10
- EURUSD=X · Inspect evidence 2026-11-10
- GLD · Inspect evidence 2026-11-10
- SLV · Inspect evidence 2026-11-10
- SPY · Inspect evidence 2026-11-10
- UNG · Inspect evidence 2026-11-10
- USO · Inspect evidence 2026-11-10
Only available, validated bundles appear below. Missing evidence is not a passing validation result.
Evidence coverage
10 / 10 declared strategy–market pairs validated
Notes
- Donald Lambert's 1980 indicator
- Constant 0.015 ensures ~70-80% of CCI values fall within [-100, +100]
- Works best in sideways markets
Related strategies
Embed this score
Add the live badge to a blog post, README or forum signature. It updates with the daily data.
<a href="https://quantarenas.com/strategy/mr-05-cci-mean-reversion/"><img src="https://quantarenas.com/badge/mr-05-cci-mean-reversion.svg" alt="CCI Mean Reversion Arena Score on Quant Arena" height="20"></a>
[](https://quantarenas.com/strategy/mr-05-cci-mean-reversion/)
Backtests are historical simulations on daily data and do not include commissions or slippage. They do not guarantee future results and are not investment advice. See the methodology for how every strategy is tested.