Summary
Commodity Channel Index Result Series.
Syntax
public IndicatorDataSeries Result{ get; }
Example 1
//... private CommodityChannelIndex _commodityChannelIndex; //... protected override void OnStart() { _commodityChannelIndex = Indicators.CommodityChannelIndex(Periods); } protected override void OnBar() { // Print to log Print("The Current Commodity Channel Index is: {0}", _commodityChannelIndex.Result.LastValue); } //...