calculate static method
dynamic
calculate(
- List<
KLineEntity> dataList, [ - List<
int> maDayList = const [5, 10, 20], - int n = 20,
- dynamic k = 2,
Implementation
static calculate(List<KLineEntity> dataList,
[List<int> maDayList = const [5, 10, 20], int n = 20, k = 2]) {
calcMA(dataList, maDayList);
calcBOLL(dataList, n, k);
calcVolumeMA(dataList);
calcKDJ(dataList);
calcMACD(dataList);
calcRSI(dataList);
calcWR(dataList);
calcCCI(dataList);
}