MQL5 ReferenceStandard LibraryTrade ClassesCHistoryOrderInfoTakeProfit TimeSetupTimeSetupMscOrderTypeTypeDescriptionStateStateDescriptionTimeExpirationTimeDoneTimeDoneMscTypeFillingTypeFillingDescriptionTypeTimeTypeTimeDescriptionMagicPositionIdVolumeInitialVolumeCurrentPriceOpenStopLossTakeProfitPriceCurrentPriceStopLimitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex TakeProfit Gets the Take Profit price of the order. double TakeProfit() const Return Value The Take Profit price of the order. Note The historical order should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. StopLoss PriceCurrent