MQL5 ReferenceStandard LibraryTrade ClassesCHistoryOrderInfoTimeSetup TimeSetupTimeSetupMscOrderTypeTypeDescriptionStateStateDescriptionTimeExpirationTimeDoneTimeDoneMscTypeFillingTypeFillingDescriptionTypeTimeTypeTimeDescriptionMagicPositionIdVolumeInitialVolumeCurrentPriceOpenStopLossTakeProfitPriceCurrentPriceStopLimitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex TimeSetup Gets the time of order placement. datetime TimeSetup() const Return Value Time of order placement. Note The historical order should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. CHistoryOrderInfo TimeSetupMsc