Help- How to check symbol (Order Symbol)

 
   bool tradeOn=false;
   for (int pos=0; pos<OrdersTotal();pos++){
      if (!OrderSelect(pos, SELECT_BY_POS))  continue;
      if (OrderType()<2) {tradeOn=true;break;} else continue;
 
}