Class MacdIndicatorDataSource
Inheritance
System.Object
MacdIndicatorDataSource
Inherited Members
Namespace: Com.Telerik.Widget.Chart.Engine.Databinding.Datasources.Financial
Assembly: Telerik.Xamarin.Android.Chart.dll
Syntax
public class MacdIndicatorDataSource : ShortLongPeriodIndicatorDataSourceBase, ICollectionChangeListener, IJavaObject, IDisposable, IJavaPeerable, IPropertyChangeListener, IEventListener
Constructors
MacdIndicatorDataSource(ChartSeriesModel)
Declaration
public MacdIndicatorDataSource(ChartSeriesModel owner)
Parameters
ChartSeriesModel
owner
|
MacdIndicatorDataSource(IntPtr, JniHandleOwnership)
Declaration
protected MacdIndicatorDataSource(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
System.IntPtr
javaReference
|
Android.Runtime.JniHandleOwnership
transfer
|
Properties
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Java.Interop.JniPeerMembers
|
Overrides
SignalPeriod
Declaration
public virtual int SignalPeriod { get; set; }
Property Value
System.Int32
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
System.IntPtr
|
Overrides
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
System.Type
|
Overrides
Methods
CalculateMacdValue(Int32, SizedQueue, Int32, SizedQueue, Int32, Object)
Declaration
protected virtual double CalculateMacdValue(int longPeriod, SizedQueue longPeriodItems, int shortPeriod, SizedQueue shortPeriodItems, int currentIndex, Object item)
Parameters
System.Int32
longPeriod
|
SizedQueue
longPeriodItems
|
System.Int32
shortPeriod
|
SizedQueue
shortPeriodItems
|
System.Int32
currentIndex
|
Java.Lang.Object
item
|
Returns
System.Double
|
CalculateSignal(Int32, SizedQueue, Int32, Double, Double)
Declaration
protected static double CalculateSignal(int signalPeriod, SizedQueue signalPeriodItems, int currentIndex, double signalEMA, double macd)
Parameters
System.Int32
signalPeriod
|
SizedQueue
signalPeriodItems
|
System.Int32
currentIndex
|
System.Double
signalEMA
|
System.Double
macd
|
Returns
System.Double
|
GenerateDataPoints(Int32, SizedQueue, Int32, SizedQueue, Int32, SizedQueue)
Declaration
protected virtual void GenerateDataPoints(int longPeriod, SizedQueue longPeriodItems, int shortPeriod, SizedQueue shortPeriodItems, int signalPeriod, SizedQueue signalPeriodItems)
Parameters
System.Int32
longPeriod
|
SizedQueue
longPeriodItems
|
System.Int32
shortPeriod
|
SizedQueue
shortPeriodItems
|
System.Int32
signalPeriod
|
SizedQueue
signalPeriodItems
|