getSeries method

  1. @override
Series getSeries(
  1. IndicatorInput indicatorInput
)
override

Creates indicator Series for the given indicatorInput.

Implementation

@override
Series getSeries(IndicatorInput indicatorInput) => RSISeries.fromIndicator(
  IndicatorConfig.supportedFieldTypes[fieldType]!(indicatorInput),
  this,
  rsiOptions: RSIOptions(
    period: period,
    pipSize: pipSize,
    showLastIndicator: showLastIndicator,
  ),
  showZones: showZones,
);