New to Telerik UI for WPF? Download free 30-day trial

ModifiedExponentialMovingAverageIndicator

ModifiedExponentialMovingAverageIndicator acts as a moving average indicator, therefore it is smoothing the data to form a trend following. In addition to this, the indicator gives weight to the recent data and reacts faster to changes 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.

Example 1: Defining ModifiedExponentialMovingAverageIndicator

 <telerik:RadCartesianChart.Indicators> 
    <telerik:ModifiedExponentialMovingAverageIndicator Period="5"                                                    
                                                       CategoryBinding="Date"                                              
                                                       ValueBinding="Close" 
                                                       ItemsSource="{Binding Data}"/> 
</telerik:RadCartesianChart.Indicators> 

Figure 1: ModifiedExponentialMovingAverageIndicator

The indicator can be set up the same way as a normal chart series. This is why you can populate it using the same approach as shown in the Data Bind to Data-Object article. You can set the corresponding value binding properties - for example, ValueBinding, CategoryBinding, HighBinding, CloseBinding, etc, and also the ItemsSource.

See Also

In this article