Class
MacdhIndicator

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 MacdhIndicator : BarIndicatorBase, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesIndicatorBaseBarIndicatorBaseMacdhIndicator

Implements: IChartElementPresenter

Inherited Members BarIndicatorBase.ValueBindingPropertyBarIndicatorBase.DefaultVisualStylePropertyBarIndicatorBase.ValueBindingBarIndicatorBase.DefaultVisualStyleIndicatorBase.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.OnApplyTemplate()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

MacdhIndicator()

Initializes a new instance of the MacdhIndicator class.

Declaration

cs-api-definition
public MacdhIndicator()

Fields

LongPeriodProperty

Identifies the LongPeriod dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LongPeriodProperty

Field Value

DependencyProperty

PointTemplateProperty

Identifies the PointTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty PointTemplateProperty

Field Value

DependencyProperty

PointTemplateSelectorProperty

Identifies the PointTemplateSelector property.

Declaration

cs-api-definition
public static readonly DependencyProperty PointTemplateSelectorProperty

Field Value

DependencyProperty

ShortPeriodProperty

Identifies the ShortPeriod dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShortPeriodProperty

Field Value

DependencyProperty

SignalPeriodProperty

Identifies the SignalPeriod dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SignalPeriodProperty

Field Value

DependencyProperty

Properties

LongPeriod

Gets or sets the indicator long period.

Declaration

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

Property Value

int

The long period.

PointTemplate

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

Declaration

cs-api-definition
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

cs-api-definition
public DataTemplateSelector PointTemplateSelector { get; set; }

Property Value

DataTemplateSelector

PointTemplates

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

Declaration

cs-api-definition
public ObservableCollection<DataTemplate> PointTemplates { get; }

Property Value

ObservableCollection<DataTemplate>

ShortPeriod

Gets or sets the indicator short period.

Declaration

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

Property Value

int

The short period.

SignalPeriod

Gets or sets the indicator signal period.

Declaration

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

Property Value

int

The signal period.

Methods

OnAttached()

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

Declaration

cs-api-definition
protected override void OnAttached()

Overrides IndicatorBase.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 IndicatorBase.OnDetached(RadChartBase)

ToString()

Returns a string that represents the current object.

Declaration

cs-api-definition
public override string ToString()

Returns

string