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

StochasticSlowIndicator

StochasticSlowIndicator shows the location of the close relative to the high/low range over a number of periods.

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 SignalPeriod, MainPeriod and SlowingPeriod properties.

To display the signal period you will need to set the SignalStroke property.

Example 1: Defining StochasticSlowIndicator

<telerik:RadCartesianChart.Indicators> 
    <telerik:StochasticSlowIndicator MainPeriod="14"  
                                     SignalPeriod="3" 
                                     SlowingPeriod="3" 
                                     SignalStroke="Black" 
                                     CategoryBinding="Date"                                              
                                     HighBinding="High"                                            
                                     LowBinding="Low"                                            
                                     CloseBinding="Close"                                              
                                     ItemsSource="{Binding Data}"/> 
</telerik:RadCartesianChart.Indicators> 

Figure 1: StochasticSlowIndicator

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.

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