- Time
- TimeMsc
- TimeUpdate
- TimeUpdateMsc
- PositionType
- TypeDescription
- Magic
- Identifier
- Volume
- PriceOpen
- StopLoss
- TakeProfit
- PriceCurrent
- Commission
- Swap
- Profit
- Symbol
- Comment
- InfoInteger
- InfoDouble
- InfoString
- Select
- SelectByIndex
- SelectByMagic
- SelectByTicket
- StoreState
- CheckState
InfoInteger
Gets the value of specified integer type property.
bool InfoInteger(
|
Parameters
prop_id
[in] ID of integer type property from ENUM_POSITION_PROPERTY_INTEGER enumeration.
var
[out] Reference to long type variable to place result.
Return Value
true – success, false – unable to get property value.
Note
The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods.