shortPeriod property

int shortPeriod
final

Short period value of the macd indicator.

Defaults to 12

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
              indicators: <TechnicalIndicators<dynamic, dynamic>>[
                      MacdIndicator<dynamic, dynamic>(
                            shortPeriod: 2,)]
                 ));
}

Implementation

final int shortPeriod;