The script closes all open positions and removes all pending orders on all instruments.
In your script before running it is possible to specify only the closing of positions, or just remove pending orders.
Standard settings:
ClosePositions = true : true - close all open positions
RemovePendedOrders= true : true - to remove all pending orders
exSlippage = 7 : The allowable amount of slip in pips
: (For closing open positions only)

Also, the script can handle "requotes", "off quotas" and "broker busy".

Installed in the experts\scripts\ your trading terminal MetaTrader4.

http://depositfiles.com/files/awsvjuvta