MQL5 ReferenceStandard LibraryTrade ClassesCHistoryOrderInfoTimeDone TimeSetupTimeSetupMscOrderTypeTypeDescriptionStateStateDescriptionTimeExpirationTimeDoneTimeDoneMscTypeFillingTypeFillingDescriptionTypeTimeTypeTimeDescriptionMagicPositionIdVolumeInitialVolumeCurrentPriceOpenStopLossTakeProfitPriceCurrentPriceStopLimitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex TimeDone Gets the time of order execution or cancellation. datetime TimeDone() const Return Value Time of order execution or cancellation. Note The historical order should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. TimeExpiration TimeDoneMsc