hi how can I code multiple smoothing moving average? number of smoothing times can be adjustable.