[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Referencing previous MAs



PureBytes Links

Trading Reference Links

Neo

You should be able to do it using the ref() function.

14dmovav:= mov(stuff,14,e);
Prev14:= ref(14dmovav,-1);

Then do your compare.

Guy

Politicians and diapers have one thing in common. They should both be
changed regularly and for the same reason.

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx [mailto:owner-metastock@xxxxxxxxxxxxx]On
Behalf Of neo
Sent: Friday, November 03, 2000 2:55 PM
To: metastock@xxxxxxxxxxxxx
Subject: Referencing previous MAs

I am stuck. I would like to compare a 14 day MA at today's close to the same
at yesterday's close. I would think that I could just put C-1 as the data
array but this does not seem to work. Any ideas?

neo