View Single Post
  #8 (permalink)  
Old 06-17-2007, 08:28 PM
Michel Michel is offline
Senior Member
 
Join Date: Feb 2006
Posts: 587
Michel is on a distinguished road
PHP Code:
            OrderSelect(HighestSellTicketSELECT_BY_TICKET);
            
OrderClose(OrderTicket(), OrderLots(), MarketInfo(OrderSymbol(), MODE_BID), 5Red);
            
LowestBuy=1000HighestBuy=0
You close a sell then you reset the buys params and vice versa. Is what do you want to do ?
because sometime it looks more logic :
PHP Code:
            OrderSelect(LowestBuyTicketSELECT_BY_TICKET);
            
OrderClose(OrderTicket(), OrderLots(), MarketInfo(OrderSymbol(), MODE_ASK), 5Red);
            
LowestBuy=1000HighestBuy=0
Reply With Quote