BollingerBandIndicator<T, D> class

This class has the property of BollingerBand Indicator.

This indicator also has upperLineColor, lowerLineColor property for defining the brushes for the indicator lines. Also, we can specify standard deviation values for the BollingerBand indicator using standardDeviation property.

Provides options for series visible, axis name, series name, animation duration, legend visibility, band color to customize the appearance.

Inheritance

Constructors

BollingerBandIndicator({bool? isVisible, String? xAxisName, String? yAxisName, String? seriesName, List<double>? dashArray, double? animationDuration, List<T>? dataSource, ChartValueMapper<T, D>? xValueMapper, ChartValueMapper<T, num>? closeValueMapper, String? name, bool? isVisibleInLegend, LegendIconType? legendIconType, String? legendItemText, Color? signalLineColor, double? signalLineWidth, int? period, int standardDeviation = 2, Color upperLineColor = Colors.red, double upperLineWidth = 2, Color lowerLineColor = Colors.green, double lowerLineWidth = 2, Color bandColor = const Color(0x409e9e9e)})
Creating an argument constructor of BollingerBandIndicator class.

Properties

animationDuration double
Animation duration for the technical indicators.
finalinherited
bandColor Color
Band Color of the Bollinger Band
final
closeValueMapper ChartIndexedValueMapper<num>?
Value mapper to map the close values with technical indicators.
finalinherited
dashArray List<double>
Property to provide DashArray for the technical indicators.
finalinherited
dataSource List<T>?
Property to provide data for the technical indicators without any series.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
highValueMapper ChartIndexedValueMapper<num>?
Value mapper to map the high values with technical indicators.
finalinherited
isVisible bool
Boolean property to change the visibility of the technical indicators.
finalinherited
isVisibleInLegend bool
Boolean property to determine the rendering of legends for the technical indicators.
finalinherited
legendIconType LegendIconType
Property to provide icon type for the technical indicators legend.
finalinherited
legendItemText String?
Property to provide the text for the technical indicators legend.
finalinherited
lowerLineColor Color
LowerLine Color value of the bollinger bands
final
lowerLineWidth double
LowerLine Width value of the bollinger bands
final
lowValueMapper ChartIndexedValueMapper<num>?
Value mapper to map the low values with technical indicators.
finalinherited
name String?
Property to provide name for the technical indicators.
finalinherited
openValueMapper ChartIndexedValueMapper<num>?
Value mapper to map the open values with technical indicators.
finalinherited
period int
Period determines the start point for the rendering of technical indicators.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seriesName String?
Property to link indicators to a series based on names.
finalinherited
signalLineColor Color
Property to provide the color of the signal line in the technical indicators.
finalinherited
signalLineWidth double
Property to provide the width of the signal line in the technical indicators.
finalinherited
standardDeviation int
Standard Deviation value of the bollinger bands
final
upperLineColor Color
UpperLine Color of the bollinger bands.
final
upperLineWidth double
UpperLine width value of the bollinger bands.
final
xAxisName String?
Property to map the technical indicators with the axes.
finalinherited
xValueMapper ChartIndexedValueMapper<D>?
Value mapper to map the x values with technical indicators.
finalinherited
yAxisName String?
Property to map the technical indicators with the axes.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited