The following code can 
return buy and sell arrows on the same bar.  How can that be 
eliminated?  Thanks,  Larry
 
bCond1= Ref(Cross(C,Lowerband),-1) 
AND C > lowerband ;
bCond2= C > Average ;
bCond3= C > EMA(C,55);
scond1= Ref( Cross(average2,C),-1)AND C < average2; 
scond2=C < Lowerband2;
Buy = bcond1 AND bCond3 OR 
bCond2; 
Sell = scond1 OR 
scond2;
Buy = ExRem( 
Buy, Sell );
Sell = ExRem( 
Sell, Buy );
Short = Sell;
Cover = 
Buy;