MQL4 Reference Chart Operations Symbol
Symbol
Returns a text string with the name of the current financial instrument.
Parameters
Returned value
Example:
int total=OrdersTotal();
for(int pos=0;pos<total;pos++)
{
// check selection result because the order may be closed or deleted at this time!
if(OrderSelect(pos, SELECT_BY_POS)==false) continue;
if(OrderType()>OP_SELL || OrderSymbol()!=Symbol()) continue;
// performs some processing...
} |
|