1AITRADER
Login Create an account
๐Ÿค– AI Trader ๐Ÿง  AI Assistant ๐Ÿ“ก AI Signals VIP ๐Ÿ“Š Gauges โšก Futures VIP ๐Ÿงญ Market scanner VIP ๐Ÿ”” Alerts VIP ๐Ÿ“ฒ Application ๐Ÿ’น Trading ๐ŸŸก Binance trading ๐ŸŸ  Bybit trading

Platform

๐Ÿ“ˆ Markets โญ Watchlist ๐ŸŒ Market movers

Tools

๐Ÿงฎ Trader calculators ๐Ÿ”„ Converter ๐Ÿ“… Economic calendar ๐Ÿ“– Trading glossary ๐ŸŽ“ Trader academy ๐Ÿ““ Trade journal ๐Ÿงฐ Advanced calculators ๐Ÿ“Š Chart patterns โœจ App features

Resources

๐Ÿ“ฐ News โ“ FAQs โ„น๏ธ About ๐Ÿ“จ Telegram signals
Create an account Login Become VIP
Trader academy

The CCI: how far the price is from its average

How the CCI measures the distance of the typical price from its average, its two reading modes in AI Signals (sign around zero or return from ยฑ100) and its limits.

Lesson 38 / 96 ยท 7 min read ยท Intermediate

A price drifts away from its average, comes back, then drifts away again. The CCI (Commodity Channel Index) measures how far the price has moved from its recent average, taking the marketโ€™s usual agitation into account. A CCI of +100 means โ€œclearly above the average for this marketโ€. It is a measure of distance, not a forecast.

How it is calculated

For each candle, AI Signals computes the typical price TP = (high + low + close) รท 3. It takes its simple average over 20 candles, then the mean deviation: the average of the absolute gaps between each TP and that average. Finally CCI = (TP โˆ’ average) รท (0.015 ร— mean deviation). The constant 0.015 comes from the original formula.

  • Reading example: TP 12 above the average, mean deviation of 8 โ†’ CCI = 12 รท (0.015 ร— 8) = 100.
  • A positive CCI: the typical price is above its average. Negative: below.
  • Since we divide by the usual agitation, +100 means the same thing in a calm market and a nervous one.
Real case โ€” ETHUSDT, H1, 2026-05-01 20:00 UTC: the indicator on the chart. Past example, not a forecast.

Reading the signal in AI Signals

The โ€œSignalโ€ setting (sigMode) has two modes. Mode 1 (default): bias. Bullish if the CCI is positive, bearish if negative; the signal appears when it crosses zero. Mode 2: return from the extremes. Buy when the CCI comes back above โˆ’100 (it leaves the low zone), sell when it falls back below +100 (it leaves the high zone); the state is kept until the opposite event.

Real case โ€” ETHUSDT, M15, 2026-09-05 00:45 UTC: winning signal, target reached. Past example, not a forecast.

The settings

  • Period (period): 20 by default (2 to 200). Shorter, the CCI is jumpy and often reaches ยฑ100; longer, it is calmer.
  • Signal (sigMode): 1 = sign around zero (default), 2 = return from ยฑ100.
  • Level (cciLvl): 100 by default (20 to 300). It only serves mode 2. Larger, fewer but more extreme signals; smaller, more.
  • These values are conventions: do not tune them to โ€œfitโ€ the past.

The pitfalls

The CCI is not bounded: it can exceed +200 or โˆ’200 in a strong trend. Being above +100 is not a sell signal: in a trend the CCI can stay there for a long time, and a sell on leaving the high zone is often premature. In mode 1, a flat market makes the CCI oscillate around zero and multiplies small signals. On spike indices (Boom/Crash), a sudden spike distorts the average and the mean deviation for several candles.

Real case โ€” BTCUSDT, M15, 2026-09-26 03:00 UTC: losing signal, stop hit. Past example, not a forecast.

Key takeaways

  • CCI = (typical price โˆ’ average) รท (0.015 ร— mean deviation), over 20 candles by default.
  • Mode 1: positive = bullish, negative = bearish. Mode 2: buy on the return above โˆ’100, sell on the return below +100.
  • It is not bounded: large values signal a strong trend as much as an excess.
  • Combine it with a trend filter (ADX, MA 200) or another oscillator to require several confirmations.

๐Ÿ“ Lesson test

Log in to take this lessonโ€™s test. Once you have passed all the tests, you will receive a certificate in your name.

Log in

These lessons are for understanding and are not investment advice. No method guarantees winning.