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

re: hhv & ref are confusing me



PureBytes Links

Trading Reference Links

Waheeb,
     The Highest High Value function looks at each of your moving averages
for the last three days and returns the highest one.  So it may be today's,
yesterdays, or the day before that, whichever is highest.  The Ref function
only looks at the day you designate, in this case the moving average from
three days ago, except that you have an error, the value should be -3, not
plus 3.  If you use +3 in the ref formula, it will look three days into the
future.  That's hard to do today <G>.  The HHV and Ref function will only
be the same when the
moving average three days ago is the highest one.
     Hope that helped.
Jim

----------
From: waheeb <WAHEEB@xxxxxxxxxxxxxx>
To: a <metastock-list@xxxxxxxxxxxxx>
Subject: hhv & ref are confusing me
Date: Monday, July 21, 1997 6:48 PM

I am testing some MAs and when I add hhv or ref to them they give better
results but I don’t understand which date they referring to. For example
lets say today is Tuesday July 22 and the trading data for this day have
been added to metastock which date are the following formulas  referring to
and what is the value they are offering:

hhv(mov(c, 3, S) , 3)
Ref(Mov(c, 3, S) , 3)

Thanks for your help
----------