MQL5 ReferenceStandard LibraryTrade ClassesCPositionInfoCommission TimeTimeMscTimeUpdateTimeUpdateMscPositionTypeTypeDescriptionMagicIdentifierVolumePriceOpenStopLossTakeProfitPriceCurrentCommissionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringSelectSelectByIndexSelectByMagicSelectByTicketStoreStateCheckState Commission Gets the amount of commission of the position. double Commission() const Return Value Amount of commission of the position (in deposit currency). Note The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods. PriceCurrent Swap