# BollingerBandsIndicator

BollingerBandsIndicator is used to define the prevailing high and low values in the data.

To set up the indicator you can set its **CategoryBinding, ValueBinding 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.

To set the number of standard deviations used to calculate the indicator values you can use the **StandardDeviations** property. And the stroke of the lower band is set via **LowerBandStroke** property.

**Example 1: Defining BollingerBandsIndicator**

```XAML
<telerik:RadCartesianChart.Indicators>
    <telerik:BollingerBandsIndicator Period="5" 
                                      StandardDeviations="2"
                                      LowerBandStroke="Black"
                                      CategoryBinding="Date"                                             
                                      ValueBinding="Close"
                                      ItemsSource="{Binding Data}"/>
</telerik:RadCartesianChart.Indicators>
```

<a id="figure-1-bollingerbandsindicator"></a>

> caption BollingerBandsIndicator

<img src="/products/wpf/documentation/assets/d1620c9911ea29837e03bfb71bf9b80e/radchartview-indicators-bollingerbandsindicator-0.png" alt="Chart showing the upper and lower Bollinger bands across date categories." style="width: 80%;">

> 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)
