In This Topic
Syntax
CCI(close; high; low; period)
Arguments
The first three arguments are arrays: 'close' contains the close values, 'high' contains the high values and 'low' contains the low values.
The 'period' parameter defines the period for the function and must be a constant greater or equal to 1. The recommended value is 10.
Result
The result is an array. The first 'period' elements of the result are marked as invalid.
Description
The Commodity Channel Index measures the position of price in relation to its moving average. It is used to highlight when the market is overbought/oversold or to signal when a trend is weakening. The indicator is similar in concept to Bollinger Bands but is presented as an indicator line rather than as a range. The Commodity Channel Index was developed by Donald Lambert.
Related Examples
Windows Forms: All Examples\Data Manipulation\Functions\Financial\Technical Price Indicators