dynamic T_1 in moving average