> For the complete documentation index, see [llms.txt](https://help.ampfutures.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.ampfutures.com/trading-platforms/quantower/analytics-panels/chart/technical-indicators/oscillators/commodity-channel-index.md).

# Commodity Channel Index

## Description <a href="#description" id="description"></a>

&#x20;The Commodity Channel Index​ (CCI) is a momentum based technical indicator first time introduced by Donald Lambert in 1980, the most often user case is an identifying market cycles, reaching a condition of being overbought or oversold. From technical perspective CCI measures the change in an instrument's price relative to a pre-defined moving average (MA) of the price divided by 1.5% of a normal deviation (D) from that average.

![](/files/-MZNQpv_yKrD24e4dsjk)

## Formula <a href="#formula" id="formula"></a>

CCI = (Price - MA)/0.015\*STD

Where:\
**Price** - current close price\
**MA** - selected N-period moving average\
**STD** - Standart deviation of price

## Most useful cases <a href="#most-useful-cases" id="most-useful-cases"></a>

* **Indication of overbought/oversold levels -** The most useful case of the commodity channel index is an identifying of price reversals, an instrument would be deemed oversold when the CCI dips below −100 and overbought when it exceeds +100. From oversold levels, a buy signal might be given when the CCI moves back above −100. From overbought levels, a sell signal might be given when the CCI moved back below +100.

![](https://gblobscdn.gitbook.com/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LEoF9mFKMnqwLt6MZfx%2F-LEoMSVOcUjMEdcc6GD3%2Fimage.png?alt=media\&token=2592e1b0-56b0-4a8b-80a5-d323c0d07287)

* **Divergence/Convergence** - Divergence/Convergence pattern is a form of price action when new high(low) of the price not confirmed with a new high/low of CCI. Such price and indicator’s behavior can be interpreted as the weakness of current existing trend.

![](https://gblobscdn.gitbook.com/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LEoF9mFKMnqwLt6MZfx%2F-LEoMjnNNnrctHbCMrJd%2Fimage.png?alt=media\&token=392c55c4-fbb4-406a-b351-cb741c9ad182)

​

​

​


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.ampfutures.com/trading-platforms/quantower/analytics-panels/chart/technical-indicators/oscillators/commodity-channel-index.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
