Download MetaTrader 5

PositionType

Gets the position type.

ENUM_POSITION_TYPE  PositionType() const

Return Value

Position type from ENUM_POSITION_TYPE enumeration.

Note

The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods.


Updated: 2016.05.30