CloseMarketOrder
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 02 September 2020 10:15 AM
|
|||||||
Syntax
Description This function is used to close the market order by given ticket number.To get a result from the server, you have to consume OnOrderTrade event (when auto broker off) or OnPositionTrade event (when auto broker on). Parameters
Return value Returns true if successful, otherwise returns false. In order to get an error, call GetLastError() function. Sample
See Also | |||||||
|
Comments (0)