|
|
|
Log In | Sign Up | ||
Commodity Channel Index (CCI)The Commodity Channel Index (CCI) measures how far the typical price has moved away from its own moving average, scaled by how much it normally deviates from that average. High readings mean price is unusually high compared with its recent average, low readings that it is unusually low. Donald Lambert introduced it in 1980 in Commodities magazine. Despite the name, it works on stocks, ETFs, forex and crypto as well as on futures. How it is calculatedTypical price TP = (High + Low + Close) / 3 SMA = simple moving average of TP over N bars Mean deviation = average of |TP - SMA| over the same N bars CCI = (TP - SMA) / (0.015 x Mean deviation) The constant 0.015 was chosen so that most readings, roughly 70% to 80%, fall between +100 and −100. CCI has no fixed upper or lower limit: in a sharp move it can reach +300 or −300. Lambert’s period was 20 bars, the most common setting today. How to read it
Settings and common mistakes
Live chart: SPY (S&P 500 ETF), daily, with CCI(20). The chart updates every trading day. Screen for it on MarketInOutCCI is built into our formula language as exch(nyse,nasdaq) and type(stock) and price > 1 and advol(21) > 1 and cci(20) ca -100 Lambert’s trend signal, CCI crossing above +100, limited to stocks above their 200-day average: exch(nyse,nasdaq) and type(stock) and price > 1 and advol(21) > 1 and price > sma(200) and cci(20) ca 100 Related: Relative Strength Index (RSI), Bollinger Bands, Stochastic oscillator. |
Disclaimer - Privacy Policy - Terms of Service - Cookies - FAQ - Affiliates - Blog |