PureBytes Links
Trading Reference Links
|
"Neil Harrington" <njh@xxxxxxxxx>
> The easiest thing to do and with virtually identical results is to
> just deal with daily data. If you are interested in a 9 week moving
> average, then use avg(close, 45), since a week is 5 trading days.
No, that won't work quite right. When you average a week by
averaging all its days, you use (C1+C2+C3+C4+C5)/5. But
when you "average" a week by using only the weekly close,
then you're using C5. The two values are very seldom the same.
Granted, the differences will usually be small, and it might be good
enough for your needs. But sometimes there are significant
differences. Try putting daily on Data1, weekly on Data2, and
plotting:
XAverage(Close,45) of Data1
XAverage(Close,9) of Data2
and you will see the differences.
Gary
|