- 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
Retourne la valeur de la propriété spécifiée de type integer.
bool InfoInteger(
|
Paramètres
prop_id
[in] Identifiant de la propriété de type integer (valeur de l'énumération ENUM_POSITION_PROPERTY_INTEGER).
var
[out] Référence à une variable de type long pour placer le résultat.
Valeur de retour
vrai en cas de succès, faux si la valeur de la propriété n'a pas pu être récupérée.
Note
La position doit être sélectionnée en utilisant les méthodes Select (par le ticket) ou SelectByIndex (par l'index).