Class SFMACDIndicator
Represents a SFMACD 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
SFMACDIndicator
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public class SFMACDIndicator : SFTechnicalIndicator
Constructors
SFMACDIndicator()
Declaration
Properties
HistogramColor
Gets or sets the color of the histogram.
Declaration
public NSColor HistogramColor { get; set; }
Property Value
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 NSColor MACDLineColor { get; set; }
Property Value
MACDType
Gets or sets the MACD type for the indicator.
Declaration
public SFChartMACDType 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 SFChartSegment CreateSegment()
Returns
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