MacdIndicator
This class represents the MovingAverageConvergenceDivergence financial indicator.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class MacdIndicator : ShortLongPeriodIndicatorBase, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesIndicatorBaseLineIndicatorBaseValueIndicatorBaseShortLongPeriodIndicatorBaseMacdIndicator...
Implements:
Inherited Members
Constructors
Initializes a new instance of the MacdIndicator class.
public MacdIndicator()
Fields
SignalPeriodProperty
DependencyProperty
Identifies the SignalPeriod dependency property.
public static readonly DependencyProperty SignalPeriodProperty
SignalStrokeProperty
DependencyProperty
Identifies the SignalStroke property.
public static readonly DependencyProperty SignalStrokeProperty
Properties
Gets the collection of data points associated with the signal line.
public DataPointCollection<CategoricalDataPoint> SignalDataPoints { get; }
Gets or sets the indicator signal period.
public int SignalPeriod { get; set; }
The signal period.
SignalStroke
Brush
Gets or sets the Brush instance that defines the stroke of the line.
public Brush SignalStroke { get; set; }
Methods
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
public override void OnApplyTemplate()
Overrides:
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
protected override void OnAttached()
Overrides:
Occurs when the presenter has been successfully detached from its owning RadChartBase instance.
protected override void OnDetached(RadChartBase oldChart)
Overrides:
Executed when the StrokeThickness property is changed.
protected override void OnStrokeThicknessChanged(DependencyPropertyChangedEventArgs e)
The DependencyPropertyChangedEventArgs instance containing the event data.
Overrides: