PureBytes Links
Trading Reference Links
|
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@xxxxxxxxx> 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 --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/
|