PureBytes Links
Trading Reference Links
|
pbay
> Hi, wanted to know if this formula is correct if I
> wanted to explore for any crossovers of the 50ema and
> the 200ema any time during the past 4 sessions.
>
> a:=Mov(c,50,E);
> b:=Mov(c,200,E);
> cross(a,b) or Ref(Cross(a,b),-1) OR Ref(Cross(a,b),-2)
> OR Ref(Cross(a,b),-3)
Your formula looks fine. Here's another way of doing the same job.
a:=Mov(C,50,E);
b:=Mov(C,200,E);
Sum(Cross(a,b),4)>0;
Don't forget to use about 1000 (200*5) periods in your exploration, or the
longer moving average will be inaccurate. If your charts are significantly
less than 1000 bars then your 200 bar EMA will be off anyway.
Roy
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/BefplB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|