dPeriod property
Value of dPeriod in stochastic Indicator.
Defaults to 5
.
Widget build(BuildContext context) {
return SfCartesianChart(
indicators: <TechnicalIndicators<Sample, num>>[
StochasticIndicator<Sample, num>(
seriesName: 'Series1',
dPeriod: 4
),
],
series: <ChartSeries<Sample, num>>[
HiloOpenCloseSeries<Sample, num>(
name: 'Series1'
)
]
);
}
Implementation
final num dPeriod;