PureBytes Links
Trading Reference Links
|
>>>>> "n" == neo <neo1@xxxxxxxxx> writes:
n> I am stuck. I would like to compare a 14 day MA at today's close to the same
n> at yesterday's close. I would think that I could just put C-1 as the data
n> array but this does not seem to work. Any ideas?
I think you want Ref here.
Today's 20 day simple MA is (pardon syntax, but you get the idea):
MovAvg(C, 20, s)
Yesterday's is:
Ref(MovAvg(C, 20, s), -1)
--
Mike Campbell
|