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

Re: [amibroker] cross error msg



PureBytes Links

Trading Reference Links

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 Coopmans

On 16 Jun 2001, at 3:47, traders10@xxxx wrote:

To: amibroker@xxxxxxxxxxxxxxx
From: traders10@xxxx
Date sent: Sat, 16 Jun 2001 03:47:36 -0000
Send reply to: amibroker@xxxxxxxxxxxxxxx
Subject: [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
> http://docs.yahoo.com/info/terms/ 
> 
>