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

[amibroker] Re: OR operator



PureBytes Links

Trading Reference Links


so if both can occur, the first part takes precedence over the 
second?


--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx> 
wrote:
> Would it be precedence ?.....
>   ----- Original Message ----- 
>   From: qweds_560 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   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 
> 
> 
> 
> -------------------------------------------------------------------
-----------
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
>       
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
>       
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service. 
> 
> 
> 
> 
> -------------------------------------------------------------------
-----------
> 
> 
>   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
> 
> 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





------------------------ 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/