Close Buy Orders - a script to close the transaction BU

The script closes deal to buy. After running the script closes all the transaction BUY for all pairs and displays an alert with information about the completion.
Details of the script on the page http://forexsoft.org/?p=385

A set of seven scripts for closing orders here >> http://www.buydigi.ru/itm/Sem%2527+skriptov+dlja+zakrytija+orderov/2000993

================================================== ===========================
Other scripts for closing orders:

CloseOpenOrders script closes all market orders (not deferred) >>> http://www.buydigi.ru/itm/CloseOpenOrders+%252D+skript+dlja+zakrytija+rynochnykh+orderov/2001016

DeleteOrders script deletes pending orders >>> http://www.buydigi.ru/itm/DeleteOrders+%252D+skript+dlja+udalenija+otlozhennykh+orderov/2001124

Script CloseLossOrders closes losing trades >>> http://www.buydigi.ru/itm/CloseLossOrders+%252D+skript+dlja+zakrytija+ubytochnykh+orderov/2001131

Script CloseProfitOrders closes Trades >>> http://www.buydigi.ru/itm/CloseProfitOrders+%252D+skript+zakrytija+pribyl%2527nykh+orderov/2001138

Script CloseSellOrders closes deal SELL >>> http://www.buydigi.ru/itm/CloseSellOrders+%252D+skript+dlja+zakrytija+sdelok+SELL/2001144

AllOrdersClose script closes all the orders (and the market, and deferred) >>> http://www.buydigi.ru/itm/AllOrdersClose+%252D+skript+zakrytija+vsekh+orderov/2001004