ClassMacdhIndicator
This class represents the MovingAverageConvergenceDivergence financial indicator.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class MacdhIndicator : BarIndicatorBase, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesIndicatorBaseBarIndicatorBaseMacdhIndicator
Implements:
Inherited Members
Constructors
MacdhIndicator()
Initializes a new instance of the MacdhIndicator class.
Declaration
public MacdhIndicator()
Fields
LongPeriodProperty
Identifies the LongPeriod dependency property.
Declaration
public static readonly DependencyProperty LongPeriodProperty
Field Value
DependencyProperty
PointTemplateProperty
Identifies the PointTemplate property.
Declaration
public static readonly DependencyProperty PointTemplateProperty
Field Value
DependencyProperty
PointTemplateSelectorProperty
Identifies the PointTemplateSelector property.
Declaration
public static readonly DependencyProperty PointTemplateSelectorProperty
Field Value
DependencyProperty
ShortPeriodProperty
Identifies the ShortPeriod dependency property.
Declaration
public static readonly DependencyProperty ShortPeriodProperty
Field Value
DependencyProperty
SignalPeriodProperty
Identifies the SignalPeriod dependency property.
Declaration
public static readonly DependencyProperty SignalPeriodProperty
Field Value
DependencyProperty
Properties
LongPeriod
Gets or sets the indicator long period.
Declaration
public int LongPeriod { get; set; }
Property Value
The long period.
PointTemplate
Gets or sets the DataTemplate property used to visualize each MacdhIndicator presented.
Declaration
public DataTemplate PointTemplate { get; set; }
Property Value
DataTemplate
PointTemplateSelector
Gets or sets the DataTemplateSelector property used to provide conditional DataTemplate look-up when visualizing each data point presented.
Declaration
public DataTemplateSelector PointTemplateSelector { get; set; }
Property Value
DataTemplateSelector
PointTemplates
Gets the collection that stores index-based templates for each data point.
Declaration
public ObservableCollection<DataTemplate> PointTemplates { get; }
Property Value
ObservableCollection<DataTemplate>
ShortPeriod
Gets or sets the indicator short period.
Declaration
public int ShortPeriod { get; set; }
Property Value
The short period.
SignalPeriod
Gets or sets the indicator signal period.
Declaration
public int SignalPeriod { get; set; }
Property Value
The signal period.
Methods
OnAttached()
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
Declaration
protected override void OnAttached()
Overrides
OnDetached(RadChartBase)
Occurs when the presenter has been successfully detached from its owning RadChartBase instance.
Declaration
protected override void OnDetached(RadChartBase oldChart)
Parameters
oldChart
Overrides