ClassMacdIndicator
This class represents the MovingAverageConvergenceDivergence financial indicator.
Definition
Namespace:Telerik.UI.Xaml.Controls.Chart
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class MacdIndicator : ShortLongPeriodIndicatorBase, IChartSeries, IChartElementPresenter, IElementPresenter
Inheritance: objectRadControlPresenterBaseChartElementPresenterChartSeriesIndicatorBaseLineIndicatorBaseValueIndicatorBaseShortLongPeriodIndicatorBaseMacdIndicator
Implements:
Inherited Members
Constructors
MacdIndicator()
Initializes a new instance of the MacdIndicator class.
Declaration
public MacdIndicator()
Fields
SignalPeriodProperty
Identifies the SignalPeriod dependency property.
Declaration
public static readonly DependencyProperty SignalPeriodProperty
Field Value
DependencyProperty
SignalStrokeProperty
Identifies the SignalStroke property.
Declaration
public static readonly DependencyProperty SignalStrokeProperty
Field Value
DependencyProperty
Properties
SignalPeriod
Gets or sets the indicator signal period.
Declaration
public int SignalPeriod { get; set; }
Property Value
The signal period.
SignalStroke
Gets or sets the Brush instance that defines the stroke of the line.
Declaration
public Brush SignalStroke { get; set; }
Property Value
Brush
Methods
ApplyTemplateCore()
Adds the polyline shape to the visual tree.
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
OnStrokeDashArrayChanged(DoubleCollection)
Called when the StrokeDashArray property is changed.
Declaration
protected override void OnStrokeDashArrayChanged(DoubleCollection newValue)
Parameters
newValue
DoubleCollection
Overrides
OnStrokeLineJoinChanged(PenLineJoin)
Called when the StrokeLineJoin property is changed.
Declaration
protected override void OnStrokeLineJoinChanged(PenLineJoin newValue)
Parameters
newValue
PenLineJoin
Overrides
OnStrokeThicknessChanged(double)
Called when the StrokeThickness property is changed.
Declaration
protected override void OnStrokeThicknessChanged(double newValue)
Parameters
newValue
Overrides
UnapplyTemplateCore()
Removes the current control template. Occurs when a template has already been applied and a new one is applied.
Declaration
protected override void UnapplyTemplateCore()
Overrides