Class MACDIndicator
Represents a MACD indicator. To render this indicator, create an
instance of this class and add it to TechnicalIndicators
collection property and set the required properties.
Inheritance
System.Object
MACDIndicator
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class MACDIndicator : FinancialTechnicalIndicator
Constructors
MACDIndicator()
Declaration
Properties
HistogramColor
Gets or sets the color of the histogram.
Declaration
public Color HistogramColor { get; set; }
Property Value
Type |
Android.Graphics.Color |
LongPeriod
Gets or sets the long period for the indicator.
Declaration
public int LongPeriod { get; set; }
Property Value
MACDLineColor
Gets or sets the color of the MACD Line.
Declaration
public Color MACDLineColor { get; set; }
Property Value
Type |
Android.Graphics.Color |
MACDType
Gets or sets the MACD type for the indicator.
Declaration
public MACDType MACDType { get; set; }
Property Value
ShortPeriod
Gets or sets the short period for the indicator.
Declaration
public int ShortPeriod { get; set; }
Property Value
Trigger
Gets or sets the trigger period for the indicator.
Declaration
public int Trigger { get; set; }
Property Value
Methods
CreateSegment()
Declaration
protected override ChartSegment CreateSegment()
Returns
Overrides
CreateSegments()
Declaration
protected override void CreateSegments()
Overrides
GeneratePoints()
Declaration
protected override void GeneratePoints()
Overrides
GetDataPoints(Int32)
Declaration
protected List<double> GetDataPoints(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
System.Collections.Generic.List<System.Double> |
ToString()
Declaration
public override string ToString()
Returns