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

RE: [amibroker] Syntax Question



PureBytes Links

Trading Reference Links




<SPAN 
class=229561014-05052003>Sam,
<SPAN 
class=229561014-05052003> 
AND 
requires BOTH conditions to be true in order to trigger a buy. OR will trigger a 
Buy if Either condition is true. Your last condition
<SPAN 
class=229561014-05052003>buy=cond1;buy=cond2;first set buy to cond1 
then resets buy to cond2 so in other words in that example 
Buy=cond2
 
Regards,
 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Sam Levy 
[mailto:slevy1220@xxxxxxxxxxxxx]Sent: Monday, May 05, 2003 8:48 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Syntax 
QuestionIs the following correct?:If I want a 
buy signal if both of two conditions are true, I would 
code:buy=cond1 and cond2;If I want a buy signal if either is 
true, I would code:buy=cond1 or cond2;What is the difference 
between those and:buy=cond1;buy=cond2;I would be grateful if 
someone would set me straight on this.Send 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.