Closes a position with the specified ticket by an opposite position.
[in] Ticket of the closed position.
[in] Ticket of the opposite position used for closing.
true - the basic check of structures is successful, otherwise - false.
A successful completion of the PositionCloseBy(...) method does not always mean a successful execution of a trading operation. You should call the ResultRetcode() method to check the result of a trade request (trade server return code).