Moving average

B

billregal

Is there a way to back test using the moving average? For example, I would
like to back test stock index data. I would like to use the moving average
information to give a buy or sell signal. If the security data point was
above the moving average, we would own the security and if the data point was
below the moving average, we would be out of the security. I would like to
take the days we own the security and calculate an annualized rate of return.


Thanks,
 
S

smartin

billregal said:
Is there a way to back test using the moving average? For example, I would
like to back test stock index data. I would like to use the moving average
information to give a buy or sell signal. If the security data point was
above the moving average, we would own the security and if the data point was
below the moving average, we would be out of the security. I would like to
take the days we own the security and calculate an annualized rate of return.

Not sure what you mean by "back test" but if you want to compare data
points to the moving average just calculate the moving average in the
worksheet and compare to the data column.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top