MQL4 Reference Trade Functions OrderCommission
Returns calculated commission of the currently selected order.
The calculated commission of the currently selected order.
The order must be previously selected by the OrderSelect() function.
Print("Commission for the order 10 ",OrderCommission());
Print("OrderSelect failed error code is",GetLastError());