Commodity Channel Index (CCI)


Namespace: OpenQuant.API.Indicators
Assembly: OpenQuant.API (in OpenQuant.API.dll)

Syntax

Visual Basic (Declaration)
Public Class CCI
    Inherits Indicator
C#
public class CCI : Indicator
C++
ref class CCI : Indicator
J#
public class CCI extends Indicator
JScript
public class CCI extends Indicator

Remarks

The Commodity Channel Index, developed by Donald Lambert, is a complex indicator that follows trends. It is very similar to the Commodity Channel Index Standard, the difference being that mean deviation replaces standard deviation in the formula. Simply put, it measures the gap to a Moving Average.

The Commodity Channel Index is calculated as the difference between the mean price of a share and the average of the means over a chosen period. This difference is then compared with the average difference over the time period. For better comparison the result is not to be understood as a barrier, but rather as an orientation point which is often overridden by peaks.

This indicator is described in more details in the Steve Achelis' book "Technical Analysis from A to Z".

Formula:

Inheritance Hierarchy

System.Object
   OpenQuant.API.Indicator
      OpenQuant.API.Indicators.CCI

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also