Class CommodityChannelIndex
Commodity Channel Index.
Inherited Members
Namespace: StockSharp.Algo.Indicators
Assembly: StockSharp.Algo.dll
Syntax
[DescriptionLoc("Str760", false)]
[IndicatorIn]
public class CommodityChannelIndex : LengthIndicator<Decimal>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Constructors
CommodityChannelIndex()
Initializes a new instance of the CommodityChannelIndex.
Declaration
public CommodityChannelIndex()
Properties
IsFormed
Whether the indicator is set.
Declaration
public override bool IsFormed { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
StockSharp.Algo.Indicators.LengthIndicator<System.Decimal>.IsFormed
Methods
OnProcess(IIndicatorValue)
To handle the input value.
Declaration
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
Type | Name | Description |
---|---|---|
IIndicatorValue | input | The input value. |
Returns
Type | Description |
---|---|
IIndicatorValue | The resulting value. |
Overrides
Reset()
To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).
Declaration
public override void Reset()
Overrides
StockSharp.Algo.Indicators.LengthIndicator<System.Decimal>.Reset()
Implements
Ecng.Serialization.IPersistable
Ecng.Common.ICloneable<>