Hi Chorlton,
M1:=Mov(HIGH,10,SIMPLE);
M2:=Mov(Low,8,SIMPLE);
Sum(L>M1 and L>M2,2)=2 and Sum(H<M1
and H<M2,2)=2;
What you are asking for doesn’t make
sense as the way it is worded you are asking for the Low to be above the High
(which would actually make the Lows the Highs).
This code none the less should point you in
the right direction for what you are wanting to
achieve.
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: Thursday, 27 October 2005
05:36
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group]
Help with a New Exploration
Hello Guys,
Can someone help me with another exploration that
I'm trying to
write.
I currently have two basic moving averages, the
first one is a 10
day MA based on the price HIGH and the second is a
8 day MA based on
the price LOW.
These simple MA's are: Mov(HIGH,10,SIMPLE)
& Mov(LOW,8,SIMPLE)
I'd like to write an exploration that identifies
stocks where:
1) the price LOW's for the last 2 days is ABOVE
both of the MA lines
and,
2) the price HIGH's for the last 2 days is BELOW
both of the MA lines
Any Help appreciated,
Thanks,
Chorlton
SPONSORED LINKS
YAHOO! GROUPS LINKS