Is there such a script where a new order closes all?

 
Is there such a script where a new order closes all?
 

You can search on CodeBase (use this link), for example: 

 
Sergey Golubev:

You can search on CodeBase (use this link), for example: 

Thanks!

Reason: