//2009.01.30
//+------------------------------------------------------------------+
//| clearSGNLs.mq4 |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2009, Kurl.FX"
#property link ""
//+------------------------------------------------------------------+
//| script "" |
//+------------------------------------------------------------------+
int start()
{
int obj_total=ObjectsTotal();
string name;
for(int i=0; i<obj_total; i++)
{
name=ObjectName(obj_total-1-i);
string chk=StringSubstr(name,0,4);
if (chk=="SGNL") ObjectDelete(name);
}
return(0);
}
//+------------------------------------------------------------------+
Comments