MQL4 Reference Trade Functions OrderSymbol
Returns symbol name of the currently selected order.
The symbol name of the currently selected order.
The order must be previously selected by the OrderSelect() function.
Print("symbol of order #", OrderTicket(), " is ", OrderSymbol());
Print("OrderSelect failed error code is",GetLastError());