SMISeries constructor

SMISeries(
  1. IndicatorDataInput input, {
  2. required SMIOptions smiOptions,
  3. double overboughtValue = 40,
  4. double oversoldValue = -40,
  5. LineStyle overboughtStyle = const LineStyle(),
  6. LineStyle oversoldStyle = const LineStyle(),
  7. String? id,
})

Initializes.

Implementation

SMISeries(
  this.input, {
  required this.smiOptions,
  this.overboughtValue = 40,
  this.oversoldValue = -40,
  this.overboughtStyle = const LineStyle(),
  this.oversoldStyle = const LineStyle(),
  String? id,
}) : super(id ?? 'SMI');