Class
MacdIndicator

This class represents the MovingAverageConvergenceDivergence financial indicator.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class MacdIndicator : ShortLongPeriodIndicatorBase, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesIndicatorBaseLineIndicatorBaseValueIndicatorBaseShortLongPeriodIndicatorBaseMacdIndicator

Implements: IChartElementPresenter

Inherited Members ShortLongPeriodIndicatorBase.LongPeriodPropertyShortLongPeriodIndicatorBase.ShortPeriodPropertyShortLongPeriodIndicatorBase.LongPeriodShortLongPeriodIndicatorBase.ShortPeriodValueIndicatorBase.ValueBindingPropertyValueIndicatorBase.ValueBindingLineIndicatorBase.StrokePropertyLineIndicatorBase.StrokeThicknessPropertyLineIndicatorBase.DashArrayPropertyLineIndicatorBase.StrokeLineIndicatorBase.StrokeThicknessLineIndicatorBase.DashArrayIndicatorBase.CategoryBindingPropertyIndicatorBase.OnCreateAutomationPeer()IndicatorBase.DataPointsIndicatorBase.CategoryBindingChartSeries.SeriesAnimationPropertyChartSeries.PointAnimationPropertyChartSeries.ShowLabelsPropertyChartSeries.IsSelectedPropertyChartSeries.AllowSelectPropertyChartSeries.TrackBallTemplatePropertyChartSeries.TrackBallInfoTemplatePropertyChartSeries.ItemsSourcePropertyChartSeries.ClipToPlotAreaPropertyChartSeries.DisplayNamePropertyChartSeries.TooltipTemplatePropertyChartSeries.LabelConnectorsSettingsPropertyChartSeries.PlaySeriesAnimation()ChartSeries.PlayPointAnimations()ChartSeries.OnLoaded(object, RoutedEventArgs)ChartSeries.OnPlaySeriesAnimation(bool)ChartSeries.OnPlayPointAnimations(bool)ChartSeries.GetDataPointLabels(DataPoint)ChartSeries.HitTest(Rect)ChartSeries.HitTestDataPoints(Rect)ChartSeries.HitTestElements(Rect)ChartSeries.HitTestElementsCore(Rect)ChartSeries.HitTestDataPointsCore(Rect)ChartSeries.OnVisibilityChanged()ChartSeries.GetLabelConnector(ChartSeriesLabelPositionInfo)ChartSeries.SeriesAnimationChartSeries.PointAnimationChartSeries.LabelDefinitionsChartSeries.ShowLabelsChartSeries.IsSelectedChartSeries.AllowSelectChartSeries.TrackBallTemplateChartSeries.TrackBallInfoTemplateChartSeries.DisplayNameChartSeries.TooltipTemplateChartSeries.ClipToPlotAreaChartSeries.ItemsSourceChartSeries.LabelConnectorsSettingsChartSeries.SeriesAnimationCompletedChartSeries.PointAnimationsCompletedChartSeries.DataBindingCompleteChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)ChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(ChartNode)PresenterBase.InvalidatePalette()PresenterBase.MeasureNodeOverride(ChartNode, object)PresenterBase.RefreshNodeCore(ChartNode)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.OnInitialized(EventArgs)PresenterBase.RenderSurfaceRadControlBase.OnUnloaded(object, RoutedEventArgs)RadControlBase.IsLoadedRadControlBase.IsTemplateApplied

Constructors

MacdIndicator()

Initializes a new instance of the MacdIndicator class.

Declaration

cs-api-definition
public MacdIndicator()

Fields

SignalPeriodProperty

Identifies the SignalPeriod dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SignalPeriodProperty

Field Value

DependencyProperty

SignalStrokeProperty

Identifies the SignalStroke property.

Declaration

cs-api-definition
public static readonly DependencyProperty SignalStrokeProperty

Field Value

DependencyProperty

Properties

SignalDataPoints

Gets the collection of data points associated with the signal line.

Declaration

cs-api-definition
public DataPointCollection<CategoricalDataPoint> SignalDataPoints { get; }

Property Value

DataPointCollection<CategoricalDataPoint>

SignalPeriod

Gets or sets the indicator signal period.

Declaration

cs-api-definition
public int SignalPeriod { get; set; }

Property Value

int

The signal period.

SignalStroke

Gets or sets the Brush instance that defines the stroke of the line.

Declaration

cs-api-definition
public Brush SignalStroke { get; set; }

Property Value

Brush

Methods

OnApplyTemplate()

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.

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides LineIndicatorBase.OnApplyTemplate()

OnAttached()

Occurs when the presenter has been successfully attached to its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnAttached()

Overrides LineIndicatorBase.OnAttached()

OnDetached(RadChartBase)

Occurs when the presenter has been successfully detached from its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnDetached(RadChartBase oldChart)

Parameters

oldChart

RadChartBase

Overrides LineIndicatorBase.OnDetached(RadChartBase)

OnStrokeThicknessChanged(DependencyPropertyChangedEventArgs)

Executed when the StrokeThickness property is changed.

Declaration

cs-api-definition
protected override void OnStrokeThicknessChanged(DependencyPropertyChangedEventArgs e)

Parameters

e

DependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

Overrides LineIndicatorBase.OnStrokeThicknessChanged(DependencyPropertyChangedEventArgs)

ToString()

Returns a string that represents the current object.

Declaration

cs-api-definition
public override string ToString()

Returns

string