MQL5参考标准程序库交易类CDealInfoDealType OrderTimeTimeMscDealTypeTypeDescriptionEntryEntryDescriptionMagicPositionIdVolumePriceCommisionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex DealType 获取成交单类型。 ENUM_DEAL_TYPE DealType() const 返回值 成交单类型 (值为 ENUM_DEAL_TYPE 枚举)。 注释 成交单必须先行使用 Ticket (通过单号) 或 SelectByIndex (通过索引) 方法选择。 TimeMsc TypeDescription