Depends on what you 
want. How about this:
Buy = bcond1 
AND bCond3 OR bCond2 AND NOT(scond1 OR scond2); 
-----Original 
Message-----
From: 
amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of larypowell
Sent: Monday, October 31, 2005 
21:11
To: 
amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Buy & Sell on Same 
Bar
 
The following code can return buy 
and sell arrows on the same bar.  How can that be eliminated?  
Thanks,  Larry