View Single Post
  #3 (permalink)  
Old 06-29-2006, 11:05 PM
Michel Michel is offline
Senior Member
 
Join Date: Feb 2006
Posts: 558
Michel is on a distinguished road
Quote:
Originally Posted by lexygoo
Hi,

why do you have: if(OrderType()<=OP_SELL.....

??

this should be

if(OrderType()==OP_SELL.....
This means that only OP_BUY and OP_SELL are concerned, not the pendings.
Reply With Quote