How to define symbol

 
In EA, how to define the symbol in the last closed trade. Say the last closed traded symbol is USDCAD, what is the command. Eg: To know how many closed trade transaction, "OrdersHistoryTotal" is used.
 
OrderSymbol()
Reason: