Hi Chorlton,
First piece of code is
H>ref(HHV(H,9),-1);
For the second piece of code use the sum
feature to count the number of occurrences that a High is greater than its
previous high.
Sum(H>Ref(H,-1),9)=9
Regards,
Tim Hyder
-------------------------------------------------------
A successful man is one
who can build a firm
foundation with the
bricks that others throw at him.
David Brinkley
-------------------------------------------------------
From:
equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx] On Behalf Of chorlton_c_hardy
Sent: Saturday, 29 October 2005
06:35
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group]
Exploration Help
Hi All,
As part of an exploration I'm writing, one part is
that I want to
select all stocks whose HIGH for todays close was
higher than the HIGHS
for the last 9 days.
I know this is probably very simple but as I
currently don't have my MS
manual, I'm relying on trial & error!!
Unsuccessfully :-(
Additional, if I wanted to ensure that each of the
9 days HIGH closed
HIGHER than the previous day, how would this code
differ from the code
that I need above?
Many Thanks,
Chorlton
YAHOO! GROUPS LINKS