Class StochasticIndicator
Represents a stochastic indicator. To render this indicator, create an instance of this class and add it to TechnicalIndicators collection property and set the required properties.
Inherited Members
Namespace: Com.Syncfusion.Charts
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class StochasticIndicator : FinancialTechnicalIndicator
Remarks
This indicator can be associated to a financial series in SfChart by specifying the name of series using SeriesName property. If the SeriesName is specified, all the required properties such as ItemsSource, XBindingPath, High, Low, Open and Close will be derived from the associated series. In case, the SeriesName is not specified, all those required properties need to be explicitly specified in RSIIndicator.
Constructors
StochasticIndicator()
Declaration
public StochasticIndicator()
Properties
DPeriod
Gets or sets the d-period for the indicator.
Declaration
public int DPeriod { get; set; }
Property Value
Type |
---|
System.Int32 |
KPeriod
Gets or sets the k-period for the indicator.
Declaration
public int KPeriod { get; set; }
Property Value
Type |
---|
System.Int32 |
LowerLineColor
Gets or sets the color of the lower line.
Declaration
public Color LowerLineColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
Period
Gets or sets the period for the indicator.
Declaration
public int Period { get; set; }
Property Value
Type |
---|
System.Int32 |
PeriodLineColor
Gets or sets the color of the period line.
Declaration
public Color PeriodLineColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
UpperLineColor
Gets or sets the color of the upper line.
Declaration
public Color UpperLineColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
Methods
CreateSegment()
Declaration
protected override ChartSegment CreateSegment()
Returns
Type |
---|
ChartSegment |
Overrides
CreateSegments()
Declaration
protected override void CreateSegments()
Overrides
GeneratePoints()
Declaration
protected override void GeneratePoints()
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type |
---|
System.String |