longPeriod property

int longPeriod
final

Long period value of the macd indicator.

Defaults to 26

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

Implementation

final int longPeriod;