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

[amibroker] Which statement is correct



PureBytes Links

Trading Reference Links

If I wanted to buy the next bar at open after meeting 3 conditions, 
which statement is correct.

Buy = Ref(cond1,-1) and cond2 and TimeNum() < 155000; BuyPrice = (O);

or

Buy = Ref(cond1 and cond2 and TimeNum() < 155000,-1); BuyPrice = (O);

Thanks


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.3/614 - Release Date: 1/2/2007 2:58 PM