CommodityChannelIndex
StockSharp.Algo.Indicators
Commodity Channel Index.
Inherits: DecimalLengthIndicator
Constructors
CommodityChannelIndex
public CommodityChannelIndex()
commodityChannelIndex = CommodityChannelIndex()
Initializes a new instance of the CommodityChannelIndex.
Properties
Measure
public override IndicatorMeasures Measure { get; }
value = commodityChannelIndex.Measure
IndicatorMeasures.
Methods
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = commodityChannelIndex.OnProcessDecimal(input)
To handle the input value.
- input
- The input value.
Returns: The new value of the indicator.