#property  copyright "2007"
#property  link "http://www.billionmeter.com"
#property  indicator_chart_window

//+------------------------------------------------------------------+

int NOSIGNAL()
{
ObjectDelete("coba");
ObjectsDeleteAll(0,OBJ_TREND);
ObjectDelete("vert");
ObjectDelete("billionbuy");
ObjectDelete("billionsell");
ObjectDelete("recsell");
ObjectDelete("shootingbuy");
ObjectDelete("shootingsell");
ObjectDelete("hrsell");
ObjectDelete("hrbuy");
ObjectDelete("valuerecsell");
ObjectDelete("recselltp");
ObjectDelete("valuerecselltp");
ObjectDelete("recssl");
ObjectDelete("valuerecssl");
ObjectDelete("valuerecstp");
ObjectDelete("recbuy");
ObjectDelete("valuerecbuy");
ObjectDelete("recbuytp");
ObjectDelete("valuerectp");
ObjectDelete("recbsl");
ObjectDelete("valuerecbsl");
ObjectDelete("valhitrun");
ObjectDelete("valrecsell");
ObjectDelete("shootbuy");
ObjectDelete("valueshootbuy");
ObjectDelete("shootbuytp");
ObjectDelete("valueshootbuytp");
ObjectDelete("shootbuysl");
ObjectDelete("valueshootbuysl");
ObjectDelete("shootsell");
ObjectDelete("valueshootsell");
ObjectDelete("shootselltp");
ObjectDelete("valueshootselltp");
ObjectDelete("shootsellsl");
ObjectDelete("valueshootsellsl");
ObjectDelete("hitruns");
ObjectDelete("valuehitrunssell");
ObjectDelete("hitrunstp");
ObjectDelete("valuehitrunstp");
ObjectDelete("hitrunssl");
ObjectDelete("valuehitrunssl");
ObjectDelete("hitrun");
ObjectDelete("valhitrun");
ObjectDelete("hitruntp");
ObjectDelete("valuehitruntp");
ObjectDelete("hitrunsl");
ObjectDelete("valuehitrunsl");
ObjectCreate("NOSIGNAL",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("NOSIGNAL",OBJPROP_XDISTANCE,48);
ObjectSet("NOSIGNAL",OBJPROP_YDISTANCE,220);
ObjectSetText("NOSIGNAL","NO SIGNAL",18,"Arial Narrow",Red);
ObjectSet("NOSIGNAL",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
}

//+------------------------------------------------------------------+

int abadi()
{
ObjectsDeleteAll(0,OBJ_LABEL);
ObjectCreate("expired",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("expired",OBJPROP_XDISTANCE,3);
ObjectSet("expired",OBJPROP_YDISTANCE,20);
ObjectSetText("expired","'Must be update.........! '",12,"Arial",Yellow);
ObjectSet("expired",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectDelete("valueprice");
ObjectCreate("web",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("web",OBJPROP_XDISTANCE,6);
ObjectSet("web",OBJPROP_YDISTANCE,1);
ObjectSet("web",OBJPROP_CORNER,3);
ObjectSetText("web","http://www.billionmeter.com",12,"Arial Narrow",Teal);
ObjectSet("web",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectCreate("running",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("running",OBJPROP_XDISTANCE,300);
ObjectSet("running",OBJPROP_YDISTANCE,240);
ObjectSet("running",OBJPROP_TIMEFRAMES,507);
ObjectSetText("running","Running ... Only On PERIOD M15 !!",20,"Arial Narrow",Red);
}

//+------------------------------------------------------------------+

int start()
{
double var_start_0 = 0;
double var_start_8 = 0;
double var_start_16;
double var_start_24;
double var_start_32 = 0;
double var_start_40 = iOpen(NULL,PERIOD_D1,1);
double var_start_48;
double var_start_56 = iLow(NULL,PERIOD_D1,1);

var_start_48 = iHigh(NULL,PERIOD_D1,1);

double var_start_64 = iClose(NULL,PERIOD_D1,1);
double var_start_72 = (var_start_56 + var_start_48 + var_start_64 + var_start_64) / 4;
int    var_start_80;
int    var_start_84;
int    var_start_88;
int    var_start_92;
double var_start_96;
double var_start_104;
double var_start_112;
double var_start_120;
double var_start_128;
double var_start_136;
double var_start_144;
double var_start_152;
int    var_start_160;
int    var_start_164;
double var_start_168 = var_start_72 - 0.0001;
double var_start_176 = var_start_72 + 0.0001;

var_start_112 = iHigh(NULL,PERIOD_M30,1);
var_start_120 = iClose(NULL,PERIOD_M30,1);

var_start_16 = iHigh(NULL,PERIOD_D1,0);
var_start_0 = iOpen(NULL,PERIOD_D1,0);
var_start_8 = iClose(NULL,PERIOD_D1,0);
var_start_24 = iLow(NULL,PERIOD_D1,0);
var_start_32 = (var_start_8 - var_start_0) * 10000.0;
var_start_128 = iRSI(NULL,0,14,PRICE_CLOSE,0);
var_start_136 = iMA(NULL,0,1,0,MODE_EMA,PRICE_TYPICAL,1);
var_start_144 = (var_start_56 + var_start_48 + var_start_64) / 3;
var_start_152 = (var_start_64 - var_start_144) * 10000.0;

double var_start_184 = MarketInfo("GBPUSD",MODE_SPREAD);
double var_start_192 = var_start_184 / 10000.0;

ObjectDelete("apdet");
ObjectCreate("lic",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("lic",OBJPROP_XDISTANCE,3);
ObjectSet("lic",OBJPROP_YDISTANCE,13);
ObjectSet("lic",OBJPROP_CORNER,0);
ObjectSetText("lic","License For :",9,"Tahoma",DarkGreen);
ObjectSet("lic",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectCreate("mem",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("mem",OBJPROP_XDISTANCE,3);
ObjectSet("mem",OBJPROP_YDISTANCE,27);
ObjectSet("mem",OBJPROP_CORNER,0);
ObjectSet("mem",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectCreate("mail",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("mail",OBJPROP_XDISTANCE,3);
ObjectSet("mail",OBJPROP_YDISTANCE,39);
ObjectSet("mail",OBJPROP_CORNER,0);
ObjectSet("mail",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectCreate("pairs",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("pairs",OBJPROP_XDISTANCE,70);
ObjectSet("pairs",OBJPROP_YDISTANCE,60);
ObjectSetText("pairs",Symbol(),16,"Arial Narrow",Yellow);
ObjectSet("pairs",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectCreate("running",OBJ_LABEL,0,var_start_96,0,var_start_104,0);
ObjectSet("running",OBJPROP_XDISTANCE,300);
ObjectSet("running",OBJPROP_YDISTANCE,240);
ObjectSet("running",OBJPROP_TIMEFRAMES,507);
ObjectSetText("running","Running ... Only On PERIOD M15 !!",20,"Arial Narrow",Red);
ObjectCreate("web",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("web",OBJPROP_XDISTANCE,6);
ObjectSet("web",OBJPROP_YDISTANCE,1);
ObjectSet("web",OBJPROP_CORNER,3);
ObjectSetText("web","http://www.billionmeter.com",12,"Arial Narrow",Teal);
ObjectSet("web",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);

if (var_start_8 > 0.0) NOSIGNAL();

if (Symbol() != "GBPUSD")
   {
   ObjectDelete("NOSIGNAL");
   ObjectsDeleteAll(0,OBJ_TREND);
   ObjectsDeleteAll(0,OBJ_LABEL);
   ObjectDelete("vert");
   ObjectCreate("running",OBJ_LABEL,0,var_start_96,0,var_start_104,0);
   ObjectSet("running",OBJPROP_XDISTANCE,300);
   ObjectSet("running",OBJPROP_YDISTANCE,240);
   ObjectSet("running",OBJPROP_TIMEFRAMES,507);
   ObjectSetText("running","Running ... Only On PERIOD M15 !!",20,"Arial Narrow",Red);
   ObjectCreate("pairs",OBJ_LABEL,0,TimeCurrent(),0,0);
   ObjectSet("pairs",OBJPROP_XDISTANCE,3);
   ObjectSet("pairs",OBJPROP_YDISTANCE,10);
   ObjectSetText("pairs","NO RECOMMENDATION FOR THIS PAIRS",12,"Arial Narrow",Yellow);
   ObjectSet("pairs",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
   }

ObjectCreate("web",OBJ_LABEL,0,TimeCurrent(),0,0);
ObjectSet("web",OBJPROP_XDISTANCE,6);
ObjectSet("web",OBJPROP_YDISTANCE,1);
ObjectSet("web",OBJPROP_CORNER,3);
ObjectSetText("web","http://www.billionmeter.com",12,"Arial Narrow",Teal);
ObjectSet("web",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);

double var_start_200 = iADX("GBPUSD",PERIOD_M15,3,PRICE_OPEN,MODE_MAIN,0);
double var_start_208 = iADX("GBPUSD",PERIOD_M15,3,PRICE_OPEN,MODE_PLUSDI,0);
double var_start_216 = iADX("GBPUSD",PERIOD_M15,3,PRICE_OPEN,MODE_MINUSDI,0);
double var_start_224 = var_start_208 - var_start_216;
double var_start_232 = var_start_216 - var_start_208;
double var_start_240 = iMA("GBPUSD",PERIOD_M15,3,0,MODE_EMA,PRICE_OPEN,0);
double var_start_248 = iMA("GBPUSD",PERIOD_M15,10,0,MODE_EMA,PRICE_OPEN,0);
double var_start_256 = iMA("GBPUSD",PERIOD_M15,20,0,MODE_EMA,PRICE_OPEN,0);
double var_start_264;
double var_start_272 = (var_start_240 - var_start_248) * 10000.0;
double var_start_280 = (var_start_248 - var_start_256) * 10000.0;
double var_start_288 = (var_start_256 - var_start_248) * 10000.0;
double var_start_296 = (var_start_248 - var_start_240) * 10000.0;

var_start_264 = (var_start_8 - var_start_240) * 10000.0;
TimeToStr(0);
var_start_96 = iTime(NULL,PERIOD_M15,5);
var_start_104 = TimeCurrent();

if (var_start_200 < 95.0)
   {
   if ((var_start_216 < var_start_208) && (var_start_240 > var_start_248) && (var_start_248 > var_start_256) && (var_start_264 > -4) && (var_start_264 < 11))
      {
      if ((var_start_272 > 1) && (var_start_280 > 1) && (var_start_224 > 15))
         {
         ObjectDelete("NOSIGNAL");
         ObjectDelete("apdet");
         PlaySound("alert.wav");
         ObjectCreate("vert",OBJ_VLINE,0,var_start_96,0,var_start_104,0);
         ObjectSet("vert",OBJPROP_BACK,1);
         ObjectSet("vert",OBJPROP_COLOR,White);
         ObjectSet("vert",OBJPROP_STYLE,STYLE_DOT);
         ObjectSet("vert",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectCreate("hit",OBJ_TREND,0,var_start_96,var_start_240,var_start_104,var_start_240);
         ObjectCreate("hit1",OBJ_TREND,0,var_start_96,var_start_240 + 0.0001,var_start_104,var_start_240 + 0.0001);
         ObjectCreate("hit2",OBJ_TREND,0,var_start_96,var_start_240 + 0.0002,var_start_104,var_start_240 + 0.0002);
         ObjectCreate("hit3",OBJ_TREND,0,var_start_96,var_start_240 + 0.0003,var_start_104,var_start_240 + 0.0003);
         ObjectCreate("hit4",OBJ_TREND,0,var_start_96,var_start_240 + 0.0004,var_start_104,var_start_240 + 0.0004);
         ObjectCreate("hit5",OBJ_TREND,0,var_start_96,var_start_240 + 0.0005,var_start_104,var_start_240 + 0.0005);
         ObjectCreate("hit6",OBJ_TREND,0,var_start_96,var_start_240 + 0.0006,var_start_104,var_start_240 + 0.0006);
         ObjectCreate("hit7",OBJ_TREND,0,var_start_96,var_start_240 + 0.0007,var_start_104,var_start_240 + 0.0007);
         ObjectCreate("hit8",OBJ_TREND,0,var_start_96,var_start_240 + 0.0008,var_start_104,var_start_240 + 0.0008);
         ObjectCreate("hit9",OBJ_TREND,0,var_start_96,var_start_240 + 0.0009,var_start_104,var_start_240 + 0.0009);
         ObjectCreate("hit10",OBJ_TREND,0,var_start_96,var_start_240 + 0.001,var_start_104,var_start_240 + 0.001);
         ObjectCreate("hitrun",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("hitrun",OBJPROP_XDISTANCE,5);
         ObjectSet("hitrun",OBJPROP_YDISTANCE,226);
         ObjectSet("hitrun",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("hitrun","BUY  @",10,"Arial Narrow",Green);
         ObjectCreate("valhitrun",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("valhitrun",OBJPROP_XDISTANCE,50);
         ObjectSet("valhitrun",OBJPROP_YDISTANCE,226);
         ObjectSet("valhitrun",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("valhitrun",DoubleToStr(var_start_240,Digits),10,"Arial Narrow",White);
         ObjectCreate("hitruntp",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("hitruntp",OBJPROP_XDISTANCE,86);
         ObjectSet("hitruntp",OBJPROP_YDISTANCE,226);
         ObjectSet("hitruntp",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("hitruntp","TP  : ",10,"Arial Narrow",Cyan);
         ObjectCreate("valuehitruntp",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("valuehitruntp",OBJPROP_XDISTANCE,114);
         ObjectSet("valuehitruntp",OBJPROP_YDISTANCE,226);
         ObjectSet("valuehitruntp",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("valuehitruntp",DoubleToStr(var_start_240 + 0.001,Digits),10,"Arial Narrow",White);
         ObjectCreate("hitrunsl",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("hitrunsl",OBJPROP_XDISTANCE,151);
         ObjectSet("hitrunsl",OBJPROP_YDISTANCE,226);
         ObjectSet("hitrunsl",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("hitrunsl","SL  : ",10,"Arial Narrow",Orange);
         ObjectCreate("valuehitrunsl",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("valuehitrunsl",OBJPROP_XDISTANCE,176);
         ObjectSet("valuehitrunsl",OBJPROP_YDISTANCE,226);
         ObjectSet("valuehitrunsl",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("valuehitrunsl",DoubleToStr(var_start_240 - 0.002 + var_start_192,Digits),10,"Arial Narrow",White);
         }
      }
   if ((var_start_216 > var_start_208) && (var_start_240 < var_start_248) && (var_start_248 < var_start_256) && (var_start_264 < 4) && (var_start_264 > -11))
      {
      if ((var_start_288 > 1) && (var_start_296 > 1) && (var_start_232 > 15))
         {
         ObjectDelete("NOSIGNAL");
         ObjectDelete("apdet");
         PlaySound("alert.wav");
         ObjectCreate("vert",OBJ_VLINE,0,var_start_96,0,var_start_104,0);
         ObjectSet("vert",OBJPROP_BACK,1);
         ObjectSet("vert",OBJPROP_COLOR,White);
         ObjectSet("vert",OBJPROP_STYLE,STYLE_DOT);
         ObjectSet("vert",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectCreate("hits",OBJ_TREND,0,var_start_96,var_start_240,var_start_104,var_start_240);
         ObjectCreate("hit1s",OBJ_TREND,0,var_start_96,var_start_240 - 0.0001,var_start_104,var_start_240 - 0.0001);
         ObjectCreate("hit2s",OBJ_TREND,0,var_start_96,var_start_240 - 0.0002,var_start_104,var_start_240 - 0.0002);
         ObjectCreate("hit3s",OBJ_TREND,0,var_start_96,var_start_240 - 0.0003,var_start_104,var_start_240 - 0.0003);
         ObjectCreate("hit4s",OBJ_TREND,0,var_start_96,var_start_240 - 0.0004,var_start_104,var_start_240 - 0.0004);
         ObjectCreate("hit5s",OBJ_TREND,0,var_start_96,var_start_240 - 0.0005,var_start_104,var_start_240 - 0.0005);
         ObjectCreate("hit6s",OBJ_TREND,0,var_start_96,var_start_240 - 0.0006,var_start_104,var_start_240 - 0.0006);
         ObjectCreate("hit7s",OBJ_TREND,0,var_start_96,var_start_240 - 0.0007,var_start_104,var_start_240 - 0.0007);
         ObjectCreate("hit8s",OBJ_TREND,0,var_start_96,var_start_240 - 0.0008,var_start_104,var_start_240 - 0.0008);
         ObjectCreate("hit9s",OBJ_TREND,0,var_start_96,var_start_240 - 0.0009,var_start_104,var_start_240 - 0.0009);
         ObjectCreate("hit10s",OBJ_TREND,0,var_start_96,var_start_240 - 0.001,var_start_104,var_start_240 - 0.001);
         ObjectCreate("hitruns",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("hitruns",OBJPROP_XDISTANCE,5);
         ObjectSet("hitruns",OBJPROP_YDISTANCE,226);
         ObjectSet("hitruns",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("hitruns","SELL @",10,"Arial Narrow",Red);
         ObjectCreate("valuehitrunssell",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("valuehitrunssell",OBJPROP_XDISTANCE,50);
         ObjectSet("valuehitrunssell",OBJPROP_YDISTANCE,226);
         ObjectSet("valuehitrunssell",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("valuehitrunssell",DoubleToStr(var_start_240,Digits),10,"Arial Narrow",White);
         ObjectCreate("hitrunstp",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("hitrunstp",OBJPROP_XDISTANCE,86);
         ObjectSet("hitrunstp",OBJPROP_YDISTANCE,226);
         ObjectSet("hitrunstp",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("hitrunstp","TP  : ",10,"Arial Narrow",Cyan);
         ObjectCreate("valuehitrunstp",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("valuehitrunstp",OBJPROP_XDISTANCE,114);
         ObjectSet("valuehitrunstp",OBJPROP_YDISTANCE,226);
         ObjectSet("valuehitrunstp",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("valuehitrunstp",DoubleToStr(var_start_240 - 0.001,Digits),10,"Arial Narrow",White);
         ObjectCreate("hitrunssl",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("hitrunssl",OBJPROP_XDISTANCE,151);
         ObjectSet("hitrunssl",OBJPROP_YDISTANCE,226);
         ObjectSet("hitrunssl",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("hitrunssl","SL  : ",10,"Arial Narrow",Orange);
         ObjectCreate("valuehitrunssl",OBJ_LABEL,0,TimeCurrent(),0,0);
         ObjectSet("valuehitrunssl",OBJPROP_XDISTANCE,176);
         ObjectSet("valuehitrunssl",OBJPROP_YDISTANCE,226);
         ObjectSet("valuehitrunssl",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
         ObjectSetText("valuehitrunssl",DoubleToStr(var_start_240 + 0.002 - var_start_192,Digits),10,"Arial Narrow",White);
         }
      }
   }

double width = 3;
double clr1 = Navy;
double clr2 = Maroon;

ObjectSet("hit",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit1",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit2",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit3",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit4",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit5",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit6",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit7",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit8",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit9",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit10",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit",OBJPROP_WIDTH,width);
ObjectSet("hit1",OBJPROP_WIDTH,width);
ObjectSet("hit2",OBJPROP_WIDTH,width);
ObjectSet("hit3",OBJPROP_WIDTH,width);
ObjectSet("hit4",OBJPROP_WIDTH,width);
ObjectSet("hit5",OBJPROP_WIDTH,width);
ObjectSet("hit6",OBJPROP_WIDTH,width);
ObjectSet("hit7",OBJPROP_WIDTH,width);
ObjectSet("hit8",OBJPROP_WIDTH,width);
ObjectSet("hit9",OBJPROP_WIDTH,width);
ObjectSet("hit10",OBJPROP_WIDTH,width);
ObjectSet("hit",OBJPROP_COLOR,clr1);
ObjectSet("hit1",OBJPROP_COLOR,clr1);
ObjectSet("hit2",OBJPROP_COLOR,clr1);
ObjectSet("hit3",OBJPROP_COLOR,clr1);
ObjectSet("hit4",OBJPROP_COLOR,clr1);
ObjectSet("hit5",OBJPROP_COLOR,clr1);
ObjectSet("hit6",OBJPROP_COLOR,clr1);
ObjectSet("hit7",OBJPROP_COLOR,clr1);
ObjectSet("hit8",OBJPROP_COLOR,clr1);
ObjectSet("hit9",OBJPROP_COLOR,clr1);
ObjectSet("hit10",OBJPROP_COLOR,clr1);
ObjectSet("hit",OBJPROP_BACK,1);
ObjectSet("hit1",OBJPROP_BACK,1);
ObjectSet("hit2",OBJPROP_BACK,1);
ObjectSet("hit3",OBJPROP_BACK,1);
ObjectSet("hit4",OBJPROP_BACK,1);
ObjectSet("hit5",OBJPROP_BACK,1);
ObjectSet("hit6",OBJPROP_BACK,1);
ObjectSet("hit7",OBJPROP_BACK,1);
ObjectSet("hit8",OBJPROP_BACK,1);
ObjectSet("hit9",OBJPROP_BACK,1);
ObjectSet("hit10",OBJPROP_BACK,1);
ObjectSet("hits",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit1s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit2s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit3s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit4s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit5s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit6s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit7s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit8s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit9s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hit10s",OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15);
ObjectSet("hits",OBJPROP_WIDTH,width);
ObjectSet("hit1s",OBJPROP_WIDTH,width);
ObjectSet("hit2s",OBJPROP_WIDTH,width);
ObjectSet("hit3s",OBJPROP_WIDTH,width);
ObjectSet("hit4s",OBJPROP_WIDTH,width);
ObjectSet("hit5s",OBJPROP_WIDTH,width);
ObjectSet("hit6s",OBJPROP_WIDTH,width);
ObjectSet("hit7s",OBJPROP_WIDTH,width);
ObjectSet("hit8s",OBJPROP_WIDTH,width);
ObjectSet("hit9s",OBJPROP_WIDTH,width);
ObjectSet("hit10s",OBJPROP_WIDTH,width);
ObjectSet("hits",OBJPROP_COLOR,clr2);
ObjectSet("hit1s",OBJPROP_COLOR,clr2);
ObjectSet("hit2s",OBJPROP_COLOR,clr2);
ObjectSet("hit3s",OBJPROP_COLOR,clr2);
ObjectSet("hit4s",OBJPROP_COLOR,clr2);
ObjectSet("hit5s",OBJPROP_COLOR,clr2);
ObjectSet("hit6s",OBJPROP_COLOR,clr2);
ObjectSet("hit7s",OBJPROP_COLOR,clr2);
ObjectSet("hit8s",OBJPROP_COLOR,clr2);
ObjectSet("hit9s",OBJPROP_COLOR,clr2);
ObjectSet("hit10s",OBJPROP_COLOR,clr2);
ObjectSet("hits",OBJPROP_BACK,1);
ObjectSet("hit1s",OBJPROP_BACK,1);
ObjectSet("hit2s",OBJPROP_BACK,1);
ObjectSet("hit3s",OBJPROP_BACK,1);
ObjectSet("hit4s",OBJPROP_BACK,1);
ObjectSet("hit5s",OBJPROP_BACK,1);
ObjectSet("hit6s",OBJPROP_BACK,1);
ObjectSet("hit7s",OBJPROP_BACK,1);
ObjectSet("hit8s",OBJPROP_BACK,1);
ObjectSet("hit9s",OBJPROP_BACK,1);
ObjectSet("hit10s",OBJPROP_BACK,1);

double year = 2050;
double month = 6;
double day = 11;
double month2 = month + 1.0;

ObjectSetText("mem","BMS526",9,"Tahoma",SlateGray);
ObjectSetText("mail","antonserd@gmail.com",9,"Tahoma",SlateGray);

if ((TimeYear(TimeCurrent()) >= year) && (TimeMonth(TimeCurrent()) >= month) && (TimeDay(TimeCurrent()) >= day)) abadi();
if ((TimeYear(TimeCurrent()) >= year) && (TimeMonth(TimeCurrent()) >= month2) && (TimeDay(TimeCurrent()) >= 1)) abadi();
if (TimeYear(TimeCurrent()) > year) abadi();
}