OrderClientOrderCloseBy Method
|
Close of pair of opposite open orders.
Namespace:
TradingAPI.MT4Server
Assembly:
MT4ServerApi (in MT4ServerApi.dll) Version: 4.6.1.8
Syntax public void OrderCloseBy(
string symbol,
int ticket1,
int ticket2
)
Public Sub OrderCloseBy (
symbol As String,
ticket1 As Integer,
ticket2 As Integer
)
public:
void OrderCloseBy(
String^ symbol,
int ticket1,
int ticket2
)
member OrderCloseBy :
symbol : string *
ticket1 : int *
ticket2 : int -> unit
Parameters
- symbol
- Type: SystemString
Symbol for trading. - ticket1
- Type: SystemInt32
Unique number of the first order ticket. - ticket2
- Type: SystemInt32
Unique number of the two order ticket.
Exceptions See Also