Skip to content

CHistoryOrderInfo

CHistoryOrderInfo

CHistoryOrderInfo is a class for easy access to the history order properties.

Description

CHistoryOrderInfo class provides easy access to the history order properties.

Declaration

class CHistoryOrderInfo : public CObject

Title

#include <Trade\HistoryOrderInfo.mqh>

Inheritance hierarchy

CObject

CHistoryOrderInfo

Class methods by groups

Access to integer type properties
TimeSetupGets the time of order placement
TimeSetupMscReceives the time of placing an order in milliseconds since 01.01.1970
OrderTypeGets the order type
OrderTypeDescriptionGets the order type as a string
StateGets the order state
StateDescriptionGets the order state as a string
TimeExpirationGets the time of order expiration
TimeDoneGets the time of order execution or cancellation
TimeDoneMscReceives order execution or cancellation time in milliseconds since 01.01.1970
TypeFillingGets the type of order execution by remainder
TypeFillingDescriptionGets the type of order execution by remainder as a string
TypeTimeGets the type of order at the time of the expiration
TypeTimeDescriptionGets the order type by expiration time as a string
MagicGets the ID of expert that placed the order
PositionIdGets the ID of position
Access to double type properties
VolumeInitialGets the initial volume of order
VolumeCurrentGets the unfilled volume of order
PriceOpenGets the order price
StopLossGets the order’s Stop Loss
TakeProfitGets the order’s Take Profit
PriceCurrentGets the current price by order symbol
PriceStopLimitGets the price of a Limit order
Access to text properties
SymbolGets the order symbol
CommentGets the order comment
Access to MQL5 API functions
InfoIntegerGets the value of specified integer type property
InfoDoubleGets the value of specified double type property
InfoStringGets value of specified string type property
Selection
TicketGets the ticket/selects the order
SelectByIndexSelects the order by index

Methods inherited from class CObject

: Prev, Prev, Next, Next, Save, Load, Type, Compare

Last updated on