New to Telerik UI for WPFStart a free 30-day trial

This class represents the MovingAverageConvergenceDivergence financial indicator.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class MacdhIndicator : BarIndicatorBase, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesIndicatorBaseBarIndicatorBaseMacdhIndicator...

Implements: IChartElementPresenter

Inherited Members BarIndicatorBase.ValueBindingPropertyBarIndicatorBase.DefaultVisualStylePropertyBarIndicatorBase.ValueBindingBarIndicatorBase.DefaultVisualStyleIndicatorBase.CategoryBindingPropertyIndicatorBase.OnCreateAutomationPeer()IndicatorBase.DataPointsIndicatorBase.CategoryBindingChartSeries.SeriesAnimationPropertyChartSeries.PointAnimationPropertyChartSeries.IsSelectedPropertyChartSeries.AllowSelectPropertyChartSeries.TrackBallTemplatePropertyChartSeries.TrackBallInfoTemplatePropertyChartSeries.ItemsSourcePropertyChartSeries.ClipToPlotAreaPropertyChartSeries.DisplayNamePropertyChartSeries.TooltipTemplatePropertyChartSeries.LabelConnectorsSettingsPropertyChartSeries.ShowLabelsPropertyChartSeries.PlaySeriesAnimation()ChartSeries.PlayPointAnimations()ChartSeries.OnLoaded(object, RoutedEventArgs)ChartSeries.OnPlaySeriesAnimation(bool)ChartSeries.OnPlayPointAnimations(bool)ChartSeries.HitTest(Rect)ChartSeries.HitTestDataPoints(Rect)ChartSeries.HitTestElements(Rect)ChartSeries.HitTestElementsCore(Rect)ChartSeries.HitTestDataPointsCore(Rect)ChartSeries.OnApplyTemplate()ChartSeries.OnVisibilityChanged()ChartSeries.GetLabelConnector(ChartSeriesLabelPositionInfo)ChartSeries.GetDataPointLabels(DataPoint)ChartSeries.SeriesAnimationChartSeries.PointAnimationChartSeries.IsSelectedChartSeries.AllowSelectChartSeries.TrackBallTemplateChartSeries.TrackBallInfoTemplateChartSeries.DisplayNameChartSeries.TooltipTemplateChartSeries.ClipToPlotAreaChartSeries.ItemsSourceChartSeries.LabelConnectorsSettingsChartSeries.LabelDefinitionsChartSeries.ShowLabelsChartSeries.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

Initializes a new instance of the MacdhIndicator class.

C#
public MacdhIndicator()

Fields

LongPeriodProperty

DependencyProperty

Identifies the LongPeriod dependency property.

C#
public static readonly DependencyProperty LongPeriodProperty

PointTemplateProperty

DependencyProperty

Identifies the PointTemplate property.

C#
public static readonly DependencyProperty PointTemplateProperty

Identifies the PointTemplateSelector property.

C#
public static readonly DependencyProperty PointTemplateSelectorProperty

ShortPeriodProperty

DependencyProperty

Identifies the ShortPeriod dependency property.

C#
public static readonly DependencyProperty ShortPeriodProperty

SignalPeriodProperty

DependencyProperty

Identifies the SignalPeriod dependency property.

C#
public static readonly DependencyProperty SignalPeriodProperty

Properties

Gets or sets the indicator long period.

C#
public int LongPeriod { get; set; }
Property Value:

The long period.

PointTemplate

DataTemplate

Gets or sets the DataTemplate property used to visualize each MacdhIndicator presented.

C#
public DataTemplate PointTemplate { get; set; }

Gets the collection that stores index-based templates for each data point.

C#
public ObservableCollection<DataTemplate> PointTemplates { get; }

PointTemplateSelector

DataTemplateSelector

Gets or sets the DataTemplateSelector property used to provide conditional DataTemplate look-up when visualizing each data point presented.

C#
public DataTemplateSelector PointTemplateSelector { get; set; }

Gets or sets the indicator short period.

C#
public int ShortPeriod { get; set; }
Property Value:

The short period.

Gets or sets the indicator signal period.

C#
public int SignalPeriod { get; set; }
Property Value:

The signal period.

Methods

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

C#
protected override void OnAttached()

Overrides: IndicatorBase.OnAttached()

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

C#
protected override void OnDetached(RadChartBase oldChart)
Parameters:oldChartRadChartBase

Overrides: IndicatorBase.OnDetached(RadChartBase)

Returns a string that represents the current object.

C#
public override string ToString()
Returns:

string