retracementLevels method

C retracementLevels(
  1. List<double> retracementLevels
)

Implementation

C retracementLevels(List<double> retracementLevels) {
  final sanitizedValue = retracementLevels.map((level) {
    return sanitizeDouble(level);
  }).toList();

  sanitizedValue.sort(sortNumberAsc);

  return patchState(MatexBaseCoreState(retracementLevels: sanitizedValue));
}