Closing Pending Orders

 
Is possible to close orders and still having orders opening when not instructed to do so?
 
You have code instructed to do so.
 
Memma30:
Is possible to close orders and still having orders opening when not instructed to do so?
i  forgot  my code.
Reason: