macdType property

MacdType macdType
final

Macd type line of the macd indicator.

Defaults to MacdType.both

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
              indicators: <TechnicalIndicators<dynamic, dynamic>>[
                      MacdIndicator<dynamic, dynamic>(
                            macdType: MacdType.both,)]
                 ));
}

Implementation

final MacdType macdType;