- Ticket
- TimeSetup
- TimeSetupMsc
- OrderType
- TypeDescription
- State
- StateDescription
- TimeExpiration
- TimeDone
- TimeDoneMsc
- TypeFilling
- TypeFillingDescription
- TypeTime
- TypeTimeDescription
- Magic
- PositionId
- VolumeInitial
- VolumeCurrent
- PriceOpen
- StopLoss
- TakeProfit
- PriceCurrent
- PriceStopLimit
- Symbol
- Comment
- InfoInteger
- InfoDouble
- InfoString
- StoreState
- CheckState
- Select
- SelectByIndex
Ticket
Gets the ticket of an order.
ulong Ticket() const |
Return Value
Order ticket if successful, otherwise - ULONG_MAX.
Note
The order should be selected using the Select (by ticket) or SelectByIndex (by index) methods.