# Commodity Channel Index (20)

### Introduction

The Commodity Channel Index (20) is a **cyclical momentum oscillator** that provides **neutral directional bias** for both **LONG and SHORT opportunities**. It measures the variation of prices from their statistical mean, with values above +100 indicating strong upward movement and below -100 indicating strong downward movement.

### How Commodity Channel Index Works

The Commodity Channel Index (CCI) was developed by Donald Lambert to identify cyclical trends. Calculation: CCI = (Typical Price - SMA) / (0.015 × Mean Deviation). Despite its name, CCI is highly effective for trading due to its unbounded nature.

• **Momentum identification** - CCI > +100 indicates strong bullish momentum, CCI < -100 indicates strong bearish momentum\
• **Overbought/Oversold conditions** - Extreme CCI values (>+200 or <-200) suggest potential reversals\
• **Cycle analysis** - CCI helps identify accumulation and distribution phases\
• **Breakout confirmation** - CCI breaking above +100 confirms breakouts\
• **Unbounded oscillator** - Can capture extreme moves without upper/lower limits

{% hint style="info" %}
**Cyclical Momentum Psychology:** CCI measures how far price deviates from its statistical mean, making it excellent for identifying cyclical extremes. Unlike bounded oscillators, CCI can reach extreme values during strong trends, making it valuable for both trend-following and mean-reversion strategies. The +100/-100 levels act as momentum thresholds rather than absolute overbought/oversold levels.
{% endhint %}

#### Key Characteristics

| Attribute        | Details                                    |
| ---------------- | ------------------------------------------ |
| **Category**     | Momentum Oscillators                       |
| **Type**         | Cyclical Momentum Signal                   |
| **Primary Use**  | Momentum strength and cycle identification |
| **Timeframe**    | All timeframes supported (1m to 1M)        |
| **Confirmation** | Volume, trend context, price action        |

### Strategy Applications

#### 🟢 LONG STRATEGY (Cyclical Momentum Acceleration)

{% hint style="success" %}
CCI is **neutral** - use CCI > +100 for LONG entries when cyclical momentum indicates strong upward acceleration beyond normal range.
{% endhint %}

**Base Entry Order (LONG)**

```
Trigger Type: Once per bar close
Bar TF: 1H
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Greater Than
Second Condition: Value
Value: 100
```

**Additional Entry Orders (LONG)**

```
Additional Entry 1: Momentum acceleration confirmation
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Cross Above
Second Condition: Value
Value: 150

AND

First Condition: Volume
Timeframe: 1H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 1H

OR

Additional Entry 2: Zero line momentum confirmation
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Cross Above
Second Condition: Value
Value: 0

AND

First Condition: Close Price
Timeframe: 1H
Operator: Greater Than
Second Condition: Exponential Moving Average (50)
Timeframe: 1H
```

**Take Profit Orders (LONG)**

```
Rule 1: Exit condition - Extreme cyclical peak
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Greater Than
Second Condition: Value
Value: 200

OR

Rule 2: Exit condition - Momentum deceleration
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Cross Below
Second Condition: Value
Value: 100

AND

First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Less Than
Second Condition: Commodity Channel Index (20)
Timeframe: 1H
Offset: 1

OR

Rule 3: Exit condition - Volume momentum exhaustion
First Condition: Volume
Timeframe: 1H
Operator: Less Than
Second Condition: Simple Moving Average (20)
Timeframe: 1H

AND

First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Less Than
Second Condition: Value
Value: 150
```

**Stop Loss Orders (LONG)**

```
Rule 1: Stop loss - Momentum breakdown
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Cross Below
Second Condition: Value
Value: 0

OR

Rule 2: Stop loss - Cyclical reversal with volume
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Less Than
Second Condition: Value
Value: -50

AND

First Condition: Volume
Timeframe: 1H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 1H

OR

Rule 3: Stop loss - Trend breakdown confirmation
First Condition: Close Price
Timeframe: 1H
Operator: Cross Below
Second Condition: Exponential Moving Average (50)
Timeframe: 1H
```

#### 🔴 SHORT STRATEGY (Cyclical Momentum Deceleration)

{% hint style="success" %}
CCI is **neutral** - use CCI < -100 for SHORT entries when cyclical momentum indicates strong downward acceleration beyond normal range.
{% endhint %}

**Base Entry Order (SHORT)**

```
Trigger Type: Once per bar close
Bar TF: 1H
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Less Than
Second Condition: Value
Value: -100
```

**Additional Entry Orders (SHORT)**

```
Additional Entry 1: Momentum acceleration confirmation
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Cross Below
Second Condition: Value
Value: -150

AND

First Condition: Volume
Timeframe: 1H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 1H

OR

Additional Entry 2: Zero line momentum confirmation
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Cross Below
Second Condition: Value
Value: 0

AND

First Condition: Close Price
Timeframe: 1H
Operator: Less Than
Second Condition: Exponential Moving Average (50)
Timeframe: 1H
```

**Take Profit Orders (SHORT)**

```
Rule 1: Exit condition - Extreme cyclical trough
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Less Than
Second Condition: Value
Value: -200

OR

Rule 2: Exit condition - Momentum deceleration
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Cross Above
Second Condition: Value
Value: -100

AND

First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Greater Than
Second Condition: Commodity Channel Index (20)
Timeframe: 1H
Offset: 1

OR

Rule 3: Exit condition - Volume momentum exhaustion
First Condition: Volume
Timeframe: 1H
Operator: Less Than
Second Condition: Simple Moving Average (20)
Timeframe: 1H

AND

First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Greater Than
Second Condition: Value
Value: -150
```

**Stop Loss Orders (SHORT)**

```
Rule 1: Stop loss - Momentum reversal
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Cross Above
Second Condition: Value
Value: 0

OR

Rule 2: Stop loss - Cyclical reversal with volume
First Condition: Commodity Channel Index (20)
Timeframe: 1H
Operator: Greater Than
Second Condition: Value
Value: 50

AND

First Condition: Volume
Timeframe: 1H
Operator: Greater Than
Second Condition: Simple Moving Average (20)
Timeframe: 1H

OR

Rule 3: Stop loss - Trend reversal confirmation
First Condition: Close Price
Timeframe: 1H
Operator: Cross Above
Second Condition: Exponential Moving Average (50)
Timeframe: 1H
```

### Advanced Strategy Combinations

#### CCI Divergence Strategy

{% tabs %}
{% tab title="Setup" %}
**Cyclical Divergence Detection:**

* **Price:** Makes new high/low
* **CCI:** Fails to make new high/low
* **Volume:** Declining participation confirms divergence
* **Confirmation:** CCI crosses +100/-100 in opposite direction
  {% endtab %}

{% tab title="Execution" %}
**Entry:** CCI crosses momentum threshold with divergence\
**Target:** Previous swing levels\
**Stop:** CCI breaks divergence pattern
{% endtab %}
{% endtabs %}

#### Extreme CCI Strategy

{% hint style="info" %}
**Setup Process:**

1. CCI reaches extreme levels (>+200 or <-200)
2. Wait for CCI to retreat from extreme levels
3. Enter on CCI crossing back through +100/-100 levels
4. [Volume](https://docs.skyrexio.com/strategy-builder/built-in-conditions/volume-data/volume) confirms the momentum shift

**Execution:**

* **Base Order:** CCI extreme retreat with momentum threshold cross
* **Additional:** Volume-confirmed momentum shift
* **Take Profit:** Opposite momentum threshold, mean reversion
* **Stop Loss:** CCI returns to extreme levels
  {% endhint %}

#### Multi-Timeframe CCI Analysis

{% hint style="info" %}
**Setup Process:**

1. Daily CCI shows major cyclical direction
2. 4H CCI confirms momentum alignment
3. 1H CCI provides precise entry timing
4. Volume expansion supports cyclical momentum shift

**Execution:**

* **Base Order:** 1H CCI momentum threshold aligned with higher timeframes
* **Additional:** Multi-timeframe cyclical momentum confirmation
* **Take Profit:** Higher timeframe CCI reversal signals
* **Stop Loss:** Multi-timeframe momentum breakdown
  {% endhint %}

### Risk Management Guidelines

#### Position Sizing

| Strategy Type        | Position Size | Conditions                          |
| -------------------- | ------------- | ----------------------------------- |
| **LONG Strategy**    | Standard      | CCI > +100 with volume confirmation |
| **SHORT Strategy**   | Standard      | CCI < -100 with volume confirmation |
| **Extreme Levels**   | Reduced (75%) | CCI > +200 or < -200                |
| **Divergence Plays** | Increased     | Clear cyclical divergence patterns  |

#### CCI Reliability Factors

{% tabs %}
{% tab title="High Reliability" %}
✅ Clear momentum threshold breaks (+100/-100)\
✅ Volume expansion supports CCI signals\
✅ Extreme levels (>+200/<-200) with retreat\
✅ Multi-timeframe cyclical alignment\
✅ Divergence patterns with confirmation
{% endtab %}

{% tab title="Low Reliability" %}
❌ CCI oscillating between -100 and +100\
❌ Low volume on momentum threshold breaks\
❌ Conflicting signals from trend indicators\
❌ Choppy, ranging market conditions\
❌ Mixed multi-timeframe signals
{% endtab %}
{% endtabs %}

### Best Practices

#### For LONG Strategies

{% hint style="success" %}

1. **Momentum threshold** - Wait for CCI > +100 before considering entries
2. **Volume confirmation** - Ensure volume supports momentum acceleration
3. **Extreme levels** - Use CCI > +200 for potential reversal signals
4. **Zero line context** - CCI crossing above 0 confirms bullish bias
   {% endhint %}

#### For SHORT Strategies

{% hint style="success" %}

1. **Momentum threshold** - Wait for CCI < -100 before considering entries
2. **Volume confirmation** - Ensure volume supports momentum deceleration
3. **Extreme levels** - Use CCI < -200 for potential reversal signals
4. **Zero line context** - CCI crossing below 0 confirms bearish bias
   {% endhint %}

#### Common Mistakes to Avoid

{% hint style="danger" %}

* **Range trading** - Entering when CCI is between -100 and +100
* **Extreme chasing** - Entering at extreme levels without confirmation
* **Volume ignored** - Missing volume validation of momentum shifts
* **Trend fighting** - Trading against strong trends without confirmation
  {% endhint %}

### Market Conditions Analysis

| Market Type         | LONG Strategy Effectiveness     | SHORT Strategy Effectiveness    |
| ------------------- | ------------------------------- | ------------------------------- |
| **Uptrend**         | 🟢 High (momentum acceleration) | 🔴 Low (against trend)          |
| **Downtrend**       | 🔴 Low (against trend)          | 🟢 High (momentum deceleration) |
| **Ranging**         | 🟡 Medium (extreme reversals)   | 🟡 Medium (extreme reversals)   |
| **High Volatility** | 🟢 High (captures extremes)     | 🟢 High (captures extremes)     |
| **Low Volume**      | 🔴 Low (wait for confirmation)  | 🔴 Low (wait for confirmation)  |

### Related Indicators

| Indicator         | Relationship                 | Link                                                                                                                        |
| ----------------- | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| **RSI**           | Bounded momentum oscillator  | [RSI](https://docs.skyrexio.com/strategy-builder/built-in-conditions/momentum-oscillators/rsi)                              |
| **Stochastic %K** | Range-based momentum         | [Stochastic %K](https://docs.skyrexio.com/strategy-builder/built-in-conditions/momentum-oscillators/stochastic-k-5-3-0-3-0) |
| **Williams %R**   | Inverted momentum oscillator | [Williams %R](https://docs.skyrexio.com/strategy-builder/built-in-conditions/momentum-oscillators/williams-r-14)            |
| **Volume**        | Momentum confirmation        | [Volume](https://docs.skyrexio.com/strategy-builder/built-in-conditions/volume-data/volume)                                 |

### Conclusion

{% hint style="info" %}
CCI provides **cyclical momentum signals** that excel at identifying momentum acceleration beyond normal ranges. Success depends on understanding the +100/-100 thresholds, extreme level behavior, and proper volume confirmation.
{% endhint %}

#### Key Takeaways

{% hint style="success" %}

* **PRIMARY USE**: Momentum acceleration identification through +100/-100 thresholds
* **SECONDARY USE**: Extreme level reversal signals and cyclical analysis
* **ALWAYS**: Confirm momentum threshold breaks with volume and trend context
* **NEVER**: Trade CCI signals between -100 and +100 without additional confirmation
  {% endhint %}

Success with CCI requires understanding its unbounded nature and using the +100/-100 levels as momentum thresholds rather than absolute overbought/oversold levels. The key is waiting for clear momentum acceleration with proper volume confirmation.

***

{% hint style="info" %}
**Ready to Build Your Own Strategy?**

Try our free AI-powered Strategy Builder at [app.skyrexio.com](https://app.skyrexio.com) and start creating professional trading strategies today. No coding required!
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.skyrexio.com/strategy-builder/built-in-conditions/momentum-oscillators/commodity-channel-index-20.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
