TraderEvolution
  • TraderEvolution Guide
  • TraderEvolution for Desktop
    • Windows
      • How to...
      • Getting started
        • System requirements
        • Installation and login
        • General settings
        • Hotkeys
        • Managing columns
        • Workspaces
        • Arranging panels
        • Top menu, Side bar, Info bar, Status bar
        • Panel settings
        • Alerts
        • Symbol & Account lookups
      • Analysis tools
        • Chart
          • Chart overview
          • Chart settings
          • Chart templates
          • Aggregation types overview
          • Cluster chart
          • Profile chart
          • Drawings
            • Drawing basics
            • Long/Short position
            • Fibonacci tools
          • Level ll data on chart
          • Object manager
          • Chart overlay
          • Context menu
          • Dividend payment history
          • Volume analysis
            • Price statistics
            • Volume profile
            • Volume bars
            • Volume dots
            • Bar statistics
            • Time & Sales analysis
            • VWAP+
        • Grid
        • Watchlist
        • Time & Sales
      • Technical indicators
        • Settings
        • Channels
          • BB (Bollinger bands)
          • BBF (Bollinger bands flat)
          • Price channel
          • Keltner channel
          • MAE (Moving average envelope)
        • Moving averages
          • EMA (Exponential moving average)
          • KAMA (Kaufman adaptive moving average)
          • LWMA (Linear weighted moving average)
          • MAS3 (3MASignal)
          • MD (McGinley dynamic)
          • MMA (Modified moving average)
          • PPMA (Pivot point moving average)
          • Regression line
          • SMA (Simple moving average)
          • SMMA (Smoothed moving average)
        • Oscillators
          • AC (Acceleration oscillator)
          • AO (Awesome oscillator)
          • Aroon
          • CCI (Commodity channel index)
          • CMO (Chande momentum oscillator)
          • KRI (Kairi relative index)
          • MACD (Moving average/convergence divergence)
          • Momentum
          • PO (Price oscillator)
          • PPO (Percentage price oscillator)
          • QStick
          • RLW (%R Larry Williams)
          • ROC (Rate of change)
          • RSI (Relative strength index)
          • Stochastic (Stochastic slow)
          • Stochastic RSI
          • TSI (True strength index)
        • Trend
          • ADX (Average directional movement index)
          • Alligator
          • DMI (Directional movement index)
          • ICH (Ichimoku)
          • Pivot point
          • SAR (Parabolic time/price system)
          • SI (Swing index)
          • ZZ (ZigZag)
          • YHL (Yesterday's high low)
        • Volatility
          • ATR (Average true range)
          • HV (Historical volatility)
          • SD (Standard deviation)
        • Volume
          • MFI (Money flow index)
          • OBV (On balance volume)
          • PVI (Positive volume index)
          • RVOL (Relative Volume) & RVOLBS (Relative Volume Beasley Savage)
          • Volume
        • Other
          • Didi index
          • EATR (Envelopes ATR)
      • Trading panels
        • Order entry
          • Position sizing
        • Super DOM
        • Market depth
        • Matrix
        • Scalper
        • Visual trading
        • Option master
          • Overview
          • Option chain
          • Analyzer
          • Volatility lab
      • Account management
        • Working orders
        • Orders history
        • Filled orders
        • Saved orders
        • Close account requests
        • Positions
        • Synthetic instruments
        • Account operations
        • Assets
        • Statement
        • Subscriptions
        • Copy trading
      • Account information
        • Accounts
        • Account statistics
        • Managed account statistics panel
        • Positions balance
        • Currencies exposure
        • Reports
      • Informative panels
        • Gainers/Losers list
        • Market consensus list
        • High/Low list
        • RSS
        • News
        • Video
        • Internal Browser
        • Economic calendar
        • IPO calendar
        • Heat map
        • Dividends calendar
        • Notifications
        • Event log
      • Strategy manager
        • Overview
        • Strategy list
        • Chart section
        • Active positions/orders section
      • Trading ideas
      • MAM system
        • MAM basics
        • Creating MAM group
        • Trading in MAM
      • More
  • TraderEvolution for Mobile
    • Phones
      • Getting started
      • Settings
      • Watchlist
      • Symbol info
      • Chart
      • Technical indicators
        • Settings
        • Channels
          • BBF (Bollinger bands flat)
          • Price channel
          • BB (Bollinger bands)
        • Moving averages
          • SMA (Simple moving average)
          • LWMA (Linear weighted moving average)
          • SMMA (Smoothed moving average)
          • MMA (Modified moving average)
          • EMA (Exponential moving average)
        • Oscillators
          • Stochastic (Stochastic slow)
          • ROC (Rate of change)
          • RSI (Relative strength index)
          • Aroon (Dawn's early light)
          • CMO (Chande momentum oscillator)
          • CCI (Commodity channel index)
          • Momentum
          • MACD (Moving average/convergence divergence)
        • Trend
          • ADX (Average directional index)
          • SAR (Parabolic time/price system)
          • ICH (Ichimoku)
        • Volatility
          • SD (Standard deviation)
          • ATR (Average true range)
        • Volume
          • OBV (On balance volume)
          • MFI (Money flow index)
      • Order entry
        • Visual trading
        • Position sizing
      • Orders
      • Trading ideas
      • Positions
      • Positions balance
      • Assets
      • Market depth
      • Option chain
        • Option strategies
      • Market consensus list
      • Event log
      • Account details
      • Statement
      • MAM summary
      • Alerts
      • My Portfolio
        • Getting started
        • Performance
        • Return
        • Growth
        • Metrics
        • More
      • Video
      • Notifications
      • Auto-invest
      • More
      • Subscriptions
    • Tablets
      • Getting started
      • Settings
      • Watchlist
      • Symbol info
      • Chart
      • Technical indicators
        • Settings
        • Channels
          • BB (Bollinger bands)
          • Price channel
          • BBF (Bollinger bands flat)
        • Moving averages
          • EMA (Exponential moving average)
          • MMA (Modified moving average)
          • SMMA (Smoothed moving average)
          • LWMA (Linear weighted moving average)
          • SMA (Simple moving average)
        • Oscillators
          • MACD (Moving average/convergence divergence)
          • CCI (Commodity channel index)
          • CMO (Chande momentum oscillator)
          • Aroon (Dawn's early light)
          • RSI (Relative strength index)
          • ROC (Rate of change)
          • Stochastic (Stochastic slow)
          • Momentum
        • Trend
          • ICH (Ichimoku)
          • SAR (Parabolic time/price system)
          • ADX (Average directional index)
        • Volatility
          • ATR (Average true range)
          • SD (Standard deviation)
        • Volume
          • MFI (Money flow index)
          • OBV (On balance volume)
          • PVI (Positive volume index)
      • Order entry
        • Visual trading
        • Position sizing
      • Orders
      • Trading ideas
      • Positions
      • Positions balance
      • Assets
      • Market depth
      • Option chain
        • Option strategies
      • Market consensus list
      • Event log
      • Account details
      • Statement
      • MAM summary
      • Alerts
      • Notifications
      • Auto-invest
      • Video
      • Subscriptions
      • My Portfolio
        • Getting started
        • Performance
        • Return
        • Growth
        • Metrics
        • More
      • External links
  • TraderEvolution for Web
    • Getting started
      • System requirements
      • Login screen
      • Explore the app
      • General settings
      • Hotkeys
      • Managing columns
      • Workspaces
      • Arranging panels
      • Top menu and Status bar
      • Alerts
      • Symbol & Account lookups
    • Analysis tools
      • Chart
        • Chart overview
        • Chart settings
        • Drawings
        • Chart overlay
        • Context menu
      • Grid
      • Watchlist
      • Time & Sales
    • Technical indicators
      • Settings
      • Moving average
        • MD (McGinley dynamic)
        • Regression
        • SMMA (Smoothed moving average)
        • PPMA (Pivot point moving average)
        • SMA (Simple moving average)
        • EMA (Exponential moving average)
        • MMA (Modified moving average)
        • LWMA (Linear weighted moving average)
        • Multi EMA
      • Oscillators
        • MACD (Moving average/Convergence divergence)
        • RSI (Relative strength index)
        • PO (Price oscillator)
        • Momentum
        • CCI (Commodity channel index)
        • Aroon
        • KRI (Kairi relative index)
        • PPO (Percentage price oscillator)
        • RLW (%R Larry Williams)
        • ROC (Rate of change)
        • QStick
        • TSI (True strength index)
        • Stochastic (Stochastic slow)
        • RSI Laguerre
      • Channels
        • BB (Bollinger bands)
        • Keltner channel
        • Price channel
        • MAE (Moving average envelope)
      • Volume
        • Volume
        • VWAP (Volume weighted average price)
        • OBV (On balance volume)
      • Trend
        • SI (Swing index)
        • Pivot point
        • Alligator
        • SAR (Parabolic time/price system)
        • Fractals
      • Volatility
        • ATR (Average true range)
        • CMO (Chande momentum oscillator)
        • SD (Standard deviation)
    • Trading panels
      • Market depth
      • Order entry
        • Position sizing
      • Visual trading
      • Option master
        • Overview
        • Option chain
        • Analyzer
        • Volatility lab
    • Account management
      • Working orders
      • Orders history
      • Saved orders
      • Filled orders
      • Close account requests
      • Positions
      • Assets
      • Statement
      • Subscriptions
      • Copy trading
    • Account information
      • Accounts
      • Positions balance
    • Informative panels
      • Event log
      • Notifications
      • Video
      • Internal Browser
    • Trading ideas
    • More
  • EvoCode
    • Getting started
      • About EvoCode
      • Starting EvoCode
      • Creating a new module
      • General settings
    • Dictionary tool
    • Editing panel
      • Source code editing
      • Editing types/Scripts setup
      • Output & Watch
    • Backtesting panel
      • Backtester
      • Statistics
      • Backtesting Types/Setup
      • Running a backtest
      • Working orders & Positions
      • Orders & Positions history
      • Filled orders
      • Logs
      • Saving scripts, importing and exporting script settings
  • Investing
    • Getting started
    • Portfolio
      • Getting started
      • Positions
      • Positions balance
      • Assets
      • Orders
      • Operations
    • Watchlist
      • Chart
      • Info window
      • Option master
        • Option strategies
    • Discover
      • Symbol lookup
      • Thematic lists
      • Top gainers/Top losers
      • High/Low
    • Trading ideas
    • MAM summary
    • Auto-invest
    • Video
    • More
Powered by GitBook
On this page
  • Calculation
  • Main parameters
  1. TraderEvolution for Desktop
  2. Windows
  3. Technical indicators
  4. Oscillators

CCI (Commodity channel index)

The commodity channel index (CCI) is an oscillator originally introduced by Donald Lambert in 1980. Since its inception, the indicator has gained popularity and is now a very common tool for traders to identify cyclical trends not only in commodities but also in equities and currencies The CCI can be adjusted to the timeframe of the market being traded by changing the averaging period.

Commodity channel index technical Indicator (CCI) measures the deviation of a commodity's price from its average statistical price. High index values indicate that the price is unusually high compared to the average one, while low values indicate that the price is too low. Despite the name, the Commodity channel index can be applied for any financial instrument, not just commodities.

There are two basic techniques for using the Commodity channel index:

  • Divergence detection: a divergence occurs when the price reaches a new maximum, and the Commodity channel index cannot rise above the previous highs. This classical divergence is usually followed by price correction;

  • As an indicator of overbuying/overselling: the Commodity channel index usually fluctuates in the ±100 range. Values above +100 indicate an overbought state (and the likelihood of a corrective decline), and values below -100 indicate an oversold condition (and a probability of a corrective increase).

CCI typically oscillates above and below the zero line. Normal oscillations will occur within the range of +100 and −100. Readings above +100 imply an overbought condition, while readings below −100 imply an oversold condition. As with other overbought/oversold indicators, this means that there is a greater likelihood that the price will correct to more representative levels.

Calculation

To find the typical price, you need to add the HIGH, LOW, and CLOSE prices of each bar, and then divide the result by 3:

TP = (HIGH + LOW + CLOSE) / 3

To calculate the n-period Simple moving average of typical prices:

SMA (TP, N) = SUM (TP, N) / N

To subtract the resulting SMA (TP, N) from the typical prices of each of the preceding n periods:

D = TP - SMA (TP, N)

To calculate the n-period Simple moving average of the absolute D values:

SMA (D, N) = SUM (D, N) / N

To multiply the received SMA (D, N) by 0,015:

M = SMA (D, N) * 0,015

To divide M by D:

CCI = M / D,

where:

HIGH — maximum bar price;

LOW — minimum bar price;

CLOSE — close price;

SMA — Simple moving average;

SUM — sum;

N — number of periods used for the calculation.

Main parameters

  • Period of moving average – number of periods involved in the calculation, 14 by default;

  • Type of the moving average – for selecting the MA type, available values: Simple, Exponential, Modified, Linear weighted.

The indicator looks as follows on the chart:

PreviousAroonNextCMO (Chande momentum oscillator)

Last updated 4 years ago