getVolMaxMinValue method

void getVolMaxMinValue(
  1. KLineEntity item
)

Implementation

void getVolMaxMinValue(KLineEntity item) {
  mVolMaxValue = math.max(
      mVolMaxValue,
      math.max(
          item.vol, math.max(item.MA5Volume ?? 0, item.MA10Volume ?? 0)));
  mVolMinValue = math.min(
      mVolMinValue,
      math.min(
          item.vol, math.min(item.MA5Volume ?? 0, item.MA10Volume ?? 0)));
}