BOLLIndicator constructor
BOLLIndicator({
- BOLLStyle indicatorStyle = const BOLLStyle(),
Implementation
BOLLIndicator({BOLLStyle indicatorStyle = const BOLLStyle()})
: super(
name: 'bollingerBands',
shortName: 'BOLL',
calcParams: const [20, 2],
indicatorStyle: indicatorStyle,
) {
_linePaint = Paint()
..isAntiAlias = true
..filterQuality = FilterQuality.high
..strokeWidth = indicatorStyle.lineWidth;
_fillPaint = Paint()..color = indicatorStyle.fillColor;
}