in reply to moving average

It may not matter for a graphics display but if @data values are floating, beware of accumulated round off errors.