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

Re: [amibroker] OR operator



PureBytes Links

Trading Reference Links

Would it be precedence ?.....
----- Original Message -----
From: qweds_560
Sent: Sunday, January 23, 2005 10:12 AM
Subject: [amibroker] OR operator


Hello,

Can someone please tell me why I receive different results in the
backtester when using:

Sell=SellPrice==bestlong OR TimeNum()==190000;
Cover=CoverPrice==bestshort OR TimeNum()==190000;

and using:

Sell=SellPrice== TimeNum()==190000 OR bestlong ;
Cover=CoverPrice== TimeNum()==190000 OR bestshort;

(all I have done is to swap the timenum part with the bestlong
variable).

Thanks

Sam





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 1/21/2005


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

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 1/21/2005