Script CloseAll
The description of actions:
Close two (or a part close one) the specified opposite positions. Can be attached to any chart.
Assignment:
Allows to part close a position. For this purpose at the moment when is necessary to part close a position, you open an opposite position in volume which is necessary for closing. Then using this script close a smaller position of the greater.
Parameters:
Close_ticket = the unique identifier of the closing order. It can be found in a column "Order" of the tab "Trade" of the terminal.
Opposite_ticket = the unique identifier of the opposite order. It can be found in a column "Order" of the tab "Trade" of the terminal.
The status: Free-of-charge, it is possible to download the full version.
Platform: MetaTrader 4.
![To download the full version](images/edl1.gif)
See also these scripts:
![Close&DeleteALL](images/cd1.gif)
- close all open positions at the current prices and delete all pending orders.
![CloseALL](images/c1.gif)
- close all open positions at the current prices.
![DeleteALL](images/d1.gif)
- delete all pending orders.
Frequently asked questions:
How I can run a script ?
How I can determine that the script works ?
How I can assign "hot key" for start of a script ?
|