[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] cross error msg



PureBytes Links

Trading Reference Links


Hello,
 
True "If-then-else" is supported by AmiBroker via AFL 
scripting.
Please check out the AFL scripting reference in users' 
guide.
 
Best regards,
Tomasz Janeczko
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Jerry 
To: <A title=amibroker@xxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Saturday, June 16, 2001 9:44 
PM
Subject: Re: [amibroker] cross error 
msg
I find the lack of a basic 'if' block structure in AFL 
annoying at time. Hopefully Tomaz will consider adding this in the future 
rather than relying on the 'iif' statement.Jerry 
CoopmansOn 16 Jun 2001, at 3:47, <A 
href="">traders10@xxxx 
wrote:To:             
      <A 
href="">amibroker@xxxxxxxxxxxxxxxFrom:           
      <A 
href="">traders10@xxxxDate 
sent:            Sat, 16 Jun 
2001 03:47:36 -0000Send reply to:        
amibroker@xxxxxxxxxxxxxxxSubject:        
      [amibroker] cross error msg> 
Arrrgghhh, I hate programming...> > getting a syntax error msg 
on cross as used here> > if  cross(pdi(), mdi()) 
then>      Xup 
=1>      EptLo = Low()> endif;> 
> and yet, if I say > > buy = cross(pdi(), 
mdi());> > there is no error and things seem to run ok> 
> it has me confused....> > Oh second stupid question, 
how do I create a new system tester file> within AB.> > 
Trader> > > > > Your use of Yahoo! Groups 
is subject to> <A 
href="">http://docs.yahoo.com/info/terms/ 
> > Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.