title: how to calculate the moving avg for stock in stock market
body: <p>I want to cal the moving avg for an etf, also i want to know how that can be cal on the paper? Value is available for 6 period and I want to predict the next value using macd cross.</p>