BollingerBandWidthIndicator<T extends IndicatorResult> constructor

BollingerBandWidthIndicator<T extends IndicatorResult>(
  1. BollingerBandsUpperIndicator<T> bbu,
  2. CachedIndicator<T> bbm,
  3. BollingerBandsLowerIndicator<T> bbl, {
  4. double hundred = 100,
})

Initializes.

bbu the upper band Indicator. bbm the middle band Indicator. Typically an SMAIndicator is used. bbl the lower band Indicator.

Implementation

BollingerBandWidthIndicator(
  this.bbu,
  this.bbm,
  this.bbl, {
  this.hundred = 100,
}) : super(bbm.input);