---
id: "P:cAlgo.API.Indicators.CommodityChannelIndex.Result"
kind: "property"
type: "T:cAlgo.API.Indicators.CommodityChannelIndex"
url: "https://help.ctrader.com/ctrader-algo/references/Indicators/CommodityChannelIndex/Result/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# CommodityChannelIndex.Result

Member of [CommodityChannelIndex](https://help.ctrader.com/ctrader-algo/references/Indicators/CommodityChannelIndex/index.md).

## Result

Commodity Channel Index Result Series.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IndicatorDataSeries Result {get;}
```

Python:

```python
commodityChannelIndex.Result: IndicatorDataSeries
```

### Returns

`IndicatorDataSeries` — The Output Series of CommodityChannelIndex.

### Examples

C#:

```csharp
private CommodityChannelIndex _commodityChannelIndex;

protected override void OnStart()
{
    _commodityChannelIndex = Indicators.CommodityChannelIndex(14);
}

protected override void OnBar()
{
    Print("The Current Commodity Channel Index is: {0}", _commodityChannelIndex.Result.Last(1));
}
```

Python:

```python
def on_start(self):
    self.commodityChannelIndex = api.Indicators.CommodityChannelIndex(14)

def on_bar(self):
    api.Print(f"The Current Commodity Channel Index is: {self.commodityChannelIndex.Result.Last(1)}")
```

