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

[amibroker] OR operator



PureBytes Links

Trading Reference Links


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





------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/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/