PureBytes Links
Trading Reference Links
|
Graham,
I found IsEmpty works pretty good when a moving average does not
exist but the code looks for it.
thanks
marty
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> do you mean id MA200 does not exist use the MA50 only?
> perhaps something like this
>
> buy = iif( barindex()<200, c > MA(C,50), c > MA(C,50) and C > MA
(C,200) );
>
>
>
> On Sat, 12 Feb 2005 04:06:34 -0000, prog200 <prog200@xxxx> wrote:
> >
> >
> > How do you handle EMPTY fields for exmaple
> >
> > on BEL the 200MA does not start until May 2002, but still like to
add
> > it to a buy rule before the 200ma started.
> >
> > buy = c > MA(C,50) and C > MA(C,200) or ???;
> >
> > where ??? is code to add a rule to buy if no 200ma does not exist.
> >
> > Thanks
> >
> > Marty
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
>
> --
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|