Momentum

CCI

Commodity Channel Index

Edited by GANGCO STUDIO · Updated

Contents CCI
  1. MACD
  2. Ichimoku Cloud
  3. Pivot Line
  4. DMI
  5. Parabolic SAR
  6. Aroon
  7. Supertrend
  8. Exponential Moving Average
  9. MA Golden Cross
  10. MA Dead Cross
  11. ADX
  12. RSI
  13. Stochastic
  14. SONAR
  15. TRIX
  16. CCI
  17. ROC
  18. Disparity Index
  19. Psychological Line
  20. Williams %R
  21. AB Ratio
  22. Ultimate Oscillator
  23. Volume Profile
  24. OBV
  25. MFI
  26. Volume Oscillator
  27. Volume Ratio
  28. AD Line
  29. EOM
  30. PVT
  31. CMF
  32. VWAP
  33. Force Index
  34. Bollinger Bands
  35. ATR
  36. Envelope
  37. Keltner Channels
  38. Donchian Channel
  39. Standard Deviation
  40. Chaikin Volatility
  41. Three White Soldiers
  42. Three Black Crows
  43. Morning Star
  44. Evening Star
  45. Hammer
  46. Inverted Hammer
  47. Hanging Man
  48. Shooting Star
  49. Doji
  50. Bullish Marubozu
  51. Bearish Marubozu
  52. Bullish Engulfing
  53. Bearish Engulfing
  54. Piercing Line
  55. Dark Cloud Cover
  56. Bullish Harami
  57. Bearish Harami
  58. Elder-Ray Index
  59. Coppock Curve

An indicator that shows how many times its usual swing the price has moved away from its recent average.

Weapon tier
Standard
Slots used
Sub-charts 1/2
Created by
Donald Lambert · 1980

Concept

CCI measures how far the typical price (the average of high, low and close) is from its average over the last 20 candles, divided by the usual swing in that period. Near the average it sits around 0; well above the usual swing it goes over +100, and well below it drops under −100.

The panel shows a single cci line with dotted lines at −100 and 100. There is no fixed top or bottom, so it can reach ±200 or ±300.

  • CCI

Charts by TradingView Lightweight Charts™

80 candles with volume and the cci line in the panel. From candle 38 to candle 59 (shaded), the price falls and cci stays below −100; at candle 60 (arrow) cci climbs back above −100. The price then recovers. Keyboard: ←/→ to move, +/− to zoom, 0 to see the whole chart.

During the shaded stretch cci was below −100 and the price kept falling. If you had bought because “it is below −100”, you would have had to sit through that drop. This chart was chosen as a scene where the price rose after cci came back; falling again afterwards is common too. Drag the chart sideways with a finger or the mouse to move it, and pinch with two fingers to zoom in. With a keyboard, click the chart, then use ←/→ to move and +/− to zoom.

How it is calculated

For each candle, take the typical price = (high + low + close) ÷ 3.

Over the last 20 candles, find the average typical price and the average distance (ignoring sign) of each candle from that average (the mean absolute deviation).

CCI = (current typical price − average) ÷ (0.015 × mean absolute deviation). The 0.015 is a constant chosen so that values mostly fall between −100 and 100.

Parameters

What it setsName in the gameDefaultRange
Candles used for the average and the swing period 20 2 – 100

Trading ideas

Climbing back above −100: when cci drops below −100 and then comes back above it, it is commonly read as leaving an overly fallen state. The chart on this page shows that scene. Dropping back below +100 is the opposite.

Crossing 0: when cci rises above 0, some read it as the price moving above its recent average.

Common traps

  • In a strong trend cci stays above +100 or below −100 for a long time. Trading the other way just because it is outside the band fights the trend.
  • A single big candle makes the value jump. The line swings roughly, so do not decide on one candle.
  • The chart on this page was chosen as a scene where the price rose after the signal. Read it together with the trend (lesson 2) and volume.

In the game

  • “CCI” is a “Standard” weapon and uses 1 of the “Sub-charts” panels (limit 2). Volume in the starting setup already uses 1, so adding CCI brings it to 2 (0 left).
  • The panel shows the cci line and dotted lines at −100 and 100.

Related indicators and lessons

  • RSI — An indicator that compares recent up moves with recent down moves and shows, as a number from 0 to 100, which side has been stronger lately.
  • Stochastic — An indicator that shows, on a scale of 0 to 100, where today’s close sits between the lowest and the highest price of the last few candles.
  • SONAR — An indicator that draws how much an exponential moving average has risen (or fallen) compared with a few candles ago, to read the “slope” of the trend.
  • TRIX — An indicator that shows by what percent, per candle, a very smooth line — an exponential moving average stacked three times — rises or falls.
  • ROC — An indicator that connects into a line how many percent the close has risen or fallen compared with the close a few candles ago.
  • Disparity Index — An indicator that shows, around a baseline of 100, how many percent the close is away from its moving average.
  • Psychological Line — An indicator that reads the market mood, upbeat or gloomy, from the percentage of recent candles that closed higher.
  • Williams %R — An indicator that shows, as a number from −100 to 0, how far today’s close sits below the highest price of recent candles.
  • AB Ratio — An indicator that compares how far each candle rose above and fell below its open, showing which side was stronger during the session.
  • Ultimate Oscillator — An indicator that blends buying pressure over a short, a medium and a long period into a number from 0 to 100.
  • 2. Trends and sideways moves