Class BollingerBandIndicator
Represents BollingerBand technical indicator.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class BollingerBandIndicator : FinancialTechnicalIndicator, ICloneable, ISupportAxes2D, ISupportAxes
Constructors
BollingerBandIndicator()
Declaration
public BollingerBandIndicator()
Fields
LowerLineColorProperty
The DependencyProperty for LowerLineColor property.
Declaration
public static readonly DependencyProperty LowerLineColorProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
PeriodProperty
The DependencyProperty for Period property.
Declaration
public static readonly DependencyProperty PeriodProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
SignalLineColorProperty
The DependencyProperty for SignalLineColor property.
Declaration
public static readonly DependencyProperty SignalLineColorProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
UpperLineColorProperty
The DependencyProperty for UpperLineColor property.
Declaration
public static readonly DependencyProperty UpperLineColorProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Properties
LowerLineColor
Gets or sets the fill color for the Lower Line of BollingerBand.
Declaration
public Brush LowerLineColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
Period
Gets or sets the moving average value for the indicator.
Declaration
public int Period { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SignalLineColor
Gets or sets the fill color for the Signal Line.
Declaration
public Brush SignalLineColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
UpperLineColor
Gets or sets the fill color for the Upper Line of the BollingerBandIndicator.
Declaration
public Brush UpperLineColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
Methods
CloneSeries(DependencyObject)
Declaration
protected override DependencyObject CloneSeries(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj |
Returns
Type | Description |
---|---|
System.Windows.DependencyObject |
Overrides
CreateSegment()
Declaration
protected override ChartSegment CreateSegment()
Returns
Type | Description |
---|---|
ChartSegment |
Overrides
CreateSegments()
Creates the segments of BollingerBandIndicator.
Declaration
public override void CreateSegments()
Overrides
GeneratePoints()
Method implementation for GeneratePoints for TechnicalIndicator
Declaration
protected override void GeneratePoints()
Overrides
OnBindingPathChanged(DependencyPropertyChangedEventArgs)
Declaration
protected override void OnBindingPathChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args |
Overrides
OnDataSourceChanged(IEnumerable, IEnumerable)
Called when DataSource property changed
Declaration
protected override void OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | oldValue | |
System.Collections.IEnumerable | newValue |
Overrides
SetSeriesItemSource(ChartSeriesBase)
Method implementation for Set ItemSource to Series
Declaration
protected override void SetSeriesItemSource(ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeriesBase | series |
Overrides
UpdateSegments(Int32, NotifyCollectionChangedAction)
Updates the segment at the specified index
Declaration
public override void UpdateSegments(int index, NotifyCollectionChangedAction action)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the segment. |
System.Collections.Specialized.NotifyCollectionChangedAction | action | The action that caused the segments collection changed event |