Send a request to close positions in MT5.

MT5.ClosePosition(iTickers)

Arguments

iTickers

int(); vector of tickets positions to close.

Value

Returns TRUE if position was successful closed.

Details

For iTickers users can use MT5.ShowPositions() to obtain it.

See also

Examples

if (FALSE) { # Close position 732176419 MT5.ClosePosition(732176419) }