DELETE_ALLS_AROWS

Author: Yuriy Tokman
Miscellaneous
It issuies visual alerts to the screen
0 Views
0 Downloads
0 Favorites
DELETE_ALLS_AROWS
//+------------------------------------------------------------------+
//|                                            DELETE_ALLS_AROWS.mq4 |
//|                                                     Yuriy Tokman |
//|                                            yuriytokman@gmail.com |
//+------------------------------------------------------------------+
#property copyright "Yuriy Tokman"
#property link      "yuriytokman@gmail.com"

//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
int start()
  {
//----
   Alert("Íà÷èíàåì óäàëåíèå âñåõ çíà÷êîâ");
   string vName;
   for(int i=ObjectsTotal()-1; i>=0;i--)
    {
     vName = ObjectName(i);
     if (StringFind(vName,"#") !=-1) ObjectDelete(vName);
    }
   Alert("Çàêîí÷èëè óäàëåíèå âñåõ çíà÷êîâ");    
//----
   return(0);
  }
//+------------------------------------------------------------------+

Comments