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