MQL5参考标准程序库交易类CDealInfoSelectByIndex OrderTimeTimeMscDealTypeTypeDescriptionEntryEntryDescriptionMagicPositionIdVolumePriceCommisionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex SelectByIndex 以索引选择成交单, 用于进一步访问属性。 bool SelectByIndex( int index // 订单索引 ) 返回值 true 成功情况下 false 如果不能选择成交单。 Ticket CTrade