PipCircle app icon

Install PipCircle

Add the app to your device - fast access, full screen, and it works offline.

Important Disclaimer

PipCircle is the social network for traders. We connect forex, stock, crypto, and prop firm traders with broker reviews, community insights, and real-time trading discussions.

The information on this platform, including user posts, broker reviews, and discussions, is for informational and educational purposes only. It does not constitute financial advice, investment recommendations, or an endorsement of any broker or trading strategy.

Risk Warning: Trading in financial markets involves substantial risk of loss and is not suitable for every investor. Past performance is not indicative of future results. You should carefully consider your investment objectives, level of experience, and risk appetite before trading.

Users are solely responsible for their own trading decisions.

CCI

CCI measures how far price is from its recent average, in units of its usual deviation. It has no upper or lower limit, and readings beyond +100 and −100 mark unusual strength or weakness.

  • Level 5 Indicators
  • الدرس 11 من 19
  • 5 دقائق قراءة
  • 2 أسئلة

The Commodity Channel Index, or CCI, measures how far the current price is from its moving average, compared with how far it usually strays. Most readings fall between −100 and +100. A reading above +100 means price is unusually far above its average, and a reading below −100 means unusually far below. Unlike RSI and the Stochastic it has no ceiling or floor. Donald Lambert introduced it in 1980 for commodities, and it is used on any market.

Daily candles with the 20-period CCI beneath. In the sideways market the CCI swings between -229 and +130. From the break upward it stays above +100 for 14 candles in a row, with a highest reading of +186.Daily candles with the 20-period CCI beneath. In the sideways market the CCI swings between -229 and +130. From the break upward it stays above +100 for 14 candles in a row, with a highest reading of +186.
Figure 1. Daily candles with the 20-period CCI beneath. Example prices, not market data.

The calculation

  1. Typical price = (high + low + close) ÷ 3.
  2. Take the 20-period SMA of the typical price.
  3. Mean deviation = the average distance of the last 20 typical prices from that SMA.
  4. CCI = (typical price − SMA) ÷ (0.015 × mean deviation).

On the candle that breaks upward in the figure, the high was 1.0974, the low 1.0907 and the close 1.0954, so the typical price was 1.0945. Its 20-period SMA was 1.0905, which left the typical price 40.03 pips above the average. The mean deviation was 24.23 pips.

CCI = 40.03 ÷ (0.015 × 24.23) = 110.1

The constant 0.015 is a matter of scale. Lambert chose it so that most readings would fall between −100 and +100.

Reading it

CCIUsual reading
Above +100Price is unusually far above its average
−100 to +100Ordinary
Below −100Price is unusually far below its average

There are two ways of using those lines, and they point in opposite directions.

  • As a sign of a trend. Lambert’s own guideline was to buy when CCI rises above +100 and to close when it falls back below it, and the reverse at −100.
  • As overbought and oversold. Many traders now read +100 as stretched and look to sell, as they would with RSI at 70.

The example

In the sideways market the CCI swung between −229 and +130. It rose above +100 twice and fell below −100 twice, each time near an edge of the range. Read as overbought and oversold, those readings fitted. Read as the start of a trend, they did not: the first move above +100 came with price at 1.0953, close to the top of the range.

On the break candle the CCI crossed above +100 again and stayed there for 14 candles in a row, with a highest reading of +186. It fell back under +100 with price at 1.1121, which is 167 pips above the close of the break candle. Read as the start of a trend, that reading fitted. Read as overbought, it called for a sale at the beginning of the rise.

In both cases the indicator did the same thing. The market differed, and the CCI cannot say which kind of market it is in.

Where it misleads

  • No limits. After +100 comes +150 and +200. No reading is “as high as it goes”.
  • After a quiet spell. The mean deviation is small when price has been still, so a modest move produces a large CCI.
  • Periods differ. Twenty is common, and some platforms start at 14. A shorter period gives more readings beyond the lines.

Key points

  • CCI = (typical price − its SMA) ÷ (0.015 × mean deviation), usually over 20 periods.
  • It has no upper or lower limit. Readings beyond +100 and −100 mark an unusual distance from the average.
  • In the example it stayed above +100 for 14 candles from the break, and swung between −229 and +130 in the range.
  • +100 can be read as the start of a trend or as overbought. Which fits depends on whether the market is trending.

مراجعة سريعة

لا تُحتسب هذه الأسئلة في نتيجة الاختبار القصير.

1. The typical price is 30 pips above its 20-period average and the mean deviation is 20 pips. What is the CCI?
2. What is the highest value CCI can reach?

Common mistakes

  • Treating +100 as a ceiling. The indicator has no limits, and in a strong move it goes well beyond.
  • Switching between the two readings. Calling +100 overbought on one trade and a breakout on the next, according to what you hoped to see, is not a method.
  • Assuming every platform uses 20 periods. Check the setting before comparing your chart with someone else’s.

Another example

On USD/JPY a candle has a high of 151.40, a low of 150.80 and a close of 151.10, so its typical price is 151.10. The 20-period SMA of the typical price is 150.50, which leaves the typical price 0.60 above its average. The mean deviation is 0.25. CCI is 0.60 ÷ (0.015 × 0.25) = 0.60 ÷ 0.00375 = 160. Price is 2.4 mean deviations above its average. The same 0.60 with a mean deviation of 0.50 would give a CCI of 80.

Questions people ask

What does the Commodity Channel Index measure?

It measures how far the typical price is from its moving average, divided by the usual size of that distance. A reading of zero means price is at its average. Readings beyond +100 or −100 mean it is further away than usual.

Can CCI be used for forex?

Yes. It was designed for commodities and the name has stayed, but the formula uses only the high, low and close, so it can be applied to any market with those prices. Its behaviour is the same: it suits whichever reading matches the state of the market, which it cannot identify by itself.

Why is 0.015 used in the CCI formula?

It is a scaling constant chosen by the indicator’s creator so that most readings would fall between −100 and +100. Without it the numbers would be small decimals. It has no deeper meaning, and the share of readings inside the lines changes with the period and the market.

What is the difference between CCI and RSI?

RSI compares the size of gains and losses and is confined to a scale from 0 to 100. CCI measures distance from an average and has no limits, so it keeps rising in a strong move where RSI flattens near the top. Both are calculated from recent prices and tend to rise and fall together.

التاليCheat sheet: momentum oscillators

الدروس مجانية للقراءة دون حساب. سجّل الدخول وسيتذكر PipCircle أين توقفت ويحفظ نتائجك ويمنحك شاراتك. سجّل الدخول مجانًا

Trading foreign exchange and CFDs carries a high risk of losing money. PipCircle Learn is education and is not investment advice.

SA flag

Showing PipCircle in العربية. Prefer another language?

We use cookies

Necessary cookies keep PipCircle working. Optional cookies (analytics, marketing, preferences) help us improve the product. You can change this any time from Settings → Privacy & Data. Read our Privacy Policy.