Class MacdIndicatorBase
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public abstract class MacdIndicatorBase : ShortLongPeriodCacheIndicatorBase, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IChartSeries, IChartElementPresenter, IAxisProvider
Constructors
MacdIndicatorBase()
Declaration
protected MacdIndicatorBase()
Fields
longEMAs
Declaration
public const byte longEMAs = 2
Field Value
System.Byte
|
macdValues
Declaration
public const byte macdValues = 0
Field Value
System.Byte
|
shortEMAs
Declaration
public const byte shortEMAs = 1
Field Value
System.Byte
|
SignalPeriodProperty
Properties
SignalPeriod
Gets or sets the indicator signal period.
Declaration
public int SignalPeriod { get; set; }
Property Value
System.Int32
|
Methods
CalculateCurrentValue(Int32, Int32)
Calculates the current value.
Declaration
protected virtual double CalculateCurrentValue(int currentIndex, int period)
Parameters
System.Int32
currentIndex
Index of the current. |
System.Int32
period
The period. |
Returns
System.Double
|
CalculateMacdValue(Int32, Int32, Int32)
Calculates the macd value.
Declaration
protected double CalculateMacdValue(int currentIndex, int longPeriod, int shortPeriod)
Parameters
System.Int32
currentIndex
Index of the current. |
System.Int32
longPeriod
The long period. |
System.Int32
shortPeriod
The short period. |
Returns
System.Double
|
GetProcessedValue(Int32)
Gets the processed value.
Declaration
public override double GetProcessedValue(int currentIndex)
Parameters
System.Int32
currentIndex
Index of the current. |
Returns
System.Double
|
Overrides
InitializeCache()
Initializes the cache.
Declaration
public override void InitializeCache()