Colored moving averages with close signals. Sma – simple moving average формула. simple moving average формула. simple moving average (sma). how to calculate order of q in moving average process.