Description Usage Arguments Details Value Author(s) See Also Examples
Send a request to close positions in MT5.
1 | MT5.ClosePosition(iTickers)
|
iTickers |
int(); vector of tickets positions to close. |
For iTickers users can use MT5.ShowPositions()
to obtain it.
Returns TRUE
if position was successful closed.
Guilherme Kinzel, guikinzel@gmail.com
MT5.SingleOrder()
, MT5.MultipleOrders()
, MT5.ShowPositions()
, MT5.ShowOrders()
, MT5.ModifyOrder()
, MT5.DeleteOrder()
, MT5.ModifyPosition()
1 2 3 4 5 6 | ## Not run:
# Close position 732176419
MT5.ClosePosition(732176419)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.