# CommodityChannelIndexIndicator

CommodityChannelIndexIndicator measures the current price level relative to an average price level over a specific period of time. The indicator can be used to identify overbought and oversold levels.

To set up the indicator you can set its **CategoryBinding, HighBinding, LowBinding, CloseBinding, and ItemsSource** properties. Additionally, you can control the period (in days) over which the indicator will be applied. To do this set the **Period** property.

**Example 1: Defining CommodityChannelIndexIndicator**

```XAML
<telerik:RadCartesianChart.Indicators>
    <telerik:CommodityChannelIndexIndicator Period="5" 
        										    CategoryBinding="Date" 
        										    HighBinding="High"
        										    LowBinding="Low"
        										    CloseBinding="Close" 
        										    ItemsSource="{Binding Data}"/>
</telerik:RadCartesianChart.Indicators>
```

> caption CommodityChannelIndexIndicator

<img src="/products/wpf/documentation/assets/280c904b2470685e9abc56b1d1bd730d/radchartview-indicators-commoditychannelindexindicator-0.png" style="width: 80%;">

> **Figure 1** shows 2 instances of RadCartesianChart. The top one shows only the candlestick series that displays the original data. The chart on the bottom shows the indicator.

> tip The indicator can be set up the same way as a normal [chart series](https://www.telerik.com/products/wpf/documentation/controls/radchartview/series/chartseries). This is why you can populate it using the same approach as shown in the [Data Bind to Data-Object](https://www.telerik.com/products/wpf/documentation/controls/radchartview/populating-with-data/series-databinding) article. You can set the corresponding value binding properties - for example, ValueBinding, CategoryBinding, HighBinding, CloseBinding, etc, and also the ItemsSource.

## See Also

* [Indicators Overview](https://www.telerik.com/products/wpf/documentation/controls/radchartview/indicators/indicators-overview)
* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radchartview/getting-started/introduction)
