Use grouped data to calculate this.values, fix SMA