CCI Best Settings for 4h: Default vs Top Settings Backtested (Fees Included)
Say you put CCI (Commodity Channel Index) on your chart and traded every signal for the last 90 days. Here is how the default 20 · -100 · 100 did, side by side with every other setting combination under the same conditions. We ran all 1,400 setting combinations on 10 coins (BTC, ETH, SOL, XRP, BNB, DOGE, ADA, LINK, SUI and HYPE) across 15m, 30m, 1h and 4h, with a 0.11% fee taken out of every trade. The figures in this post are as of 2026-10-27, and every result is recomputed nightly with fresh data. How does CCI work? The Commodity Channel Index (CCI) was introduced by Donald Lambert to track cycles in commodity markets. It takes the typical price (hlc3, the average of high, low and close), measures how far it sits from its moving average over the same period, and divides that gap by the mean deviation scaled by Lambert's constant. TradingView's default length is 20. Despite the name, CCI is now used on stocks, forex, crypto and pretty much any market. The scaling is meant...