Try one of these with at least 250 bars
included in the exploration.
x10:=Sum(Cross(Mov(C,10,E),Mov(C,20,E)),11); x20:=Sum(Cross(Mov(C,10,E),Mov(C,50,E)),11); x50:=Sum(Cross(Mov(C,20,E),Mov(C,50,E)),11);
x10>0 AND x20>0 AND x50>0;
or
x10:=Sum(Cross(Mov(C,10,E),Mov(C,20,E)),11); x20:=Sum(Cross(Mov(C,10,E),Mov(C,50,E)),11); x50:=Sum(Cross(Mov(C,20,E),Mov(C,50,E)),11);
x10 AND x20 AND x50;
or
x10:=Sum(Cross(Mov(C,10,E),Mov(C,20,E)),11); x20:=Sum(Cross(Mov(C,10,E),Mov(C,50,E)),11); x50:=Sum(Cross(Mov(C,20,E),Mov(C,50,E)),11);
x10=TRUE AND=TRUE x20 AND x50=TRUE;
You result line is testing for a specific value of
1 from each variable rather than a logical state. You must also include many
more bars than the minimum 61 that will be forced by your "x50" definition
- that's because of the nature of an exponential moving average.
Regards
Roy
----- Original Message -----
Sent: Wednesday, January 11, 2006 11:23 PM
Subject: [EquisMetaStock Group] can anyone give me some
help?
Hi,
Can someone please offer me some help on the exploration
result.
I try to do an exploration using the following conditions.Within 11
days,
1> 10 day ma crosses 20 day ma from bottom and
2> 10 day ma crosses 50 day ma from bottom and
3> 20 day ma crosses 50 day ma from bottom.
My exploration is ( in the Filter column) I put
x10:=Sum(Cross(Mov(C,10,E),Mov(C,20,E)),11); x20:=Sum(Cross(Mov(C,10,E),Mov(C,50,E)),11); x50:=Sum(Cross(Mov(C,20,E),Mov(C,50,E)),11);
x10=1 AND x20=1 AND x50=1
The result is that some stocks can give me exact information while other
not.
Some give only two crossing e.g 10 & 20 ,10 &50 .
Thank you very much .
Man
Yahoo!
Messenger NEW - crystal clear PC to PC calling
worldwide with voicemail
SPONSORED LINKS
YAHOO! GROUPS LINKS
|