Navigation:Home > Content >

Forex_Market_Hours_GMT.mq4

Time: 2010-04-20 | Download file:Forex_Market_Hours_GMT.mq4

//+------------------------------------------------------------------+
//|                                       Forex Market Hours GMT.mq4 |
//|                      Copyright © 2008, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2008, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

#property indicator_chart_window
#import "kernel32.dll"
   int GetTimeZoneInformation(int& a0[]);
#import
bool show_sessions_clock=true;
extern int Shift_X = 700;
extern int Shift_Y = 400;
int companion;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//----
    if(IsDllsAllowed()==false){
    Alert("DLL call is not allowed. Indicator cannot run. Please enable DLL in MT4");
     return(0);
    }
objectdelete();
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
objectdelete();   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
    if(IsDllsAllowed()==true)
    {
    
   int    counted_bars=IndicatorCounted();
       companion = WindowFind("session_companion");
if (companion == -1)companion=0;
   
//----
if (show_sessions_clock) trading_session();
if (show_sessions_clock) timer();
if (show_sessions_clock) market_hours_box();
if (show_sessions_clock) market_hours_box2();
if (show_sessions_clock) market_hours_box3();
if (show_sessions_clock) market_hours_box4();
if (show_sessions_clock) market_hours_box5();   

//----
   return(0);
  }}
//+------------------------------------------------------------------+
 void trading_session(){
  
  
  if (ObjectFind("session_time_london") == -1 )
{
ObjectCreate("session_time_london", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_london", OBJPROP_BACK, 0);
ObjectSet("session_time_london", OBJPROP_CORNER, 0);}
ObjectSet("session_time_london", OBJPROP_XDISTANCE, 320+Shift_X);
ObjectSet("session_time_london", OBJPROP_YDISTANCE, 217+Shift_Y);
ObjectSetText("session_time_london","London GMT", 8,"Tahoma",White);

 if (ObjectFind("session_time_ny") == -1 )
{
ObjectCreate("session_time_ny", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_ny", OBJPROP_BACK, 0);
ObjectSet("session_time_ny", OBJPROP_CORNER, 0);}
ObjectSet("session_time_ny", OBJPROP_XDISTANCE, 392+Shift_X);
ObjectSet("session_time_ny", OBJPROP_YDISTANCE, 232+Shift_Y);
ObjectSetText("session_time_ny","New York GMT", 8,"Tahoma",White);

if (ObjectFind("session_time_sydney") == -1 )
{
ObjectCreate("session_time_sydney", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_sydney", OBJPROP_BACK, 0);
ObjectSet("session_time_sydney", OBJPROP_CORNER, 0);}
ObjectSet("session_time_sydney", OBJPROP_XDISTANCE, 179+Shift_X);
ObjectSet("session_time_sydney", OBJPROP_YDISTANCE, 245+Shift_Y);
ObjectSetText("session_time_sydney","Sydney GMT", 8,"Tahoma",White);

if (ObjectFind("session_time_tokyo") == -1 )
{
ObjectCreate("session_time_tokyo", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo", OBJPROP_BACK, 0);
ObjectSet("session_time_tokyo", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo", OBJPROP_XDISTANCE, 195+Shift_X);
ObjectSet("session_time_tokyo", OBJPROP_YDISTANCE, 260+Shift_Y);
ObjectSetText("session_time_tokyo","Tokyo GMT", 8,"Tahoma",White);

if (ObjectFind("session_time_tokyo2_1") == -1 )
{
ObjectCreate("session_time_tokyo2_1", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo2_1", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo2_1", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo2_1", OBJPROP_XDISTANCE, 169+Shift_X);
ObjectSet("session_time_tokyo2_1", OBJPROP_YDISTANCE, 249+Shift_Y);
ObjectSetText("session_time_tokyo2_1","______________________", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo2_2") == -1 )
{
ObjectCreate("session_time_tokyo2_2", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo2_2", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo2_2", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo2_2", OBJPROP_XDISTANCE, 169+Shift_X);
ObjectSet("session_time_tokyo2_2", OBJPROP_YDISTANCE, 251+Shift_Y);
ObjectSetText("session_time_tokyo2_2","______________________", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo2_3") == -1 )
{
ObjectCreate("session_time_tokyo2_3", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo2_3", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo2_3", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo2_3", OBJPROP_XDISTANCE, 169+Shift_X);
ObjectSet("session_time_tokyo2_3", OBJPROP_YDISTANCE, 253+Shift_Y);
ObjectSetText("session_time_tokyo2_3","______________________", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo2_4") == -1 )
{
ObjectCreate("session_time_tokyo2_4", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo2_4", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo2_4", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo2_4", OBJPROP_XDISTANCE, 169+Shift_X);
ObjectSet("session_time_tokyo2_4", OBJPROP_YDISTANCE, 255+Shift_Y);
ObjectSetText("session_time_tokyo2_4","______________________", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo2_5") == -1 )
{
ObjectCreate("session_time_tokyo2_5", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo2_5", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo2_5", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo2_5", OBJPROP_XDISTANCE, 169+Shift_X);
ObjectSet("session_time_tokyo2_5", OBJPROP_YDISTANCE, 257+Shift_Y);
ObjectSetText("session_time_tokyo2_5","______________________", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo2_6") == -1 )
{
ObjectCreate("session_time_tokyo2_6", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo2_6", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo2_6", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo2_6", OBJPROP_XDISTANCE, 169+Shift_X);
ObjectSet("session_time_tokyo2_6", OBJPROP_YDISTANCE, 259+Shift_Y);
ObjectSetText("session_time_tokyo2_6","______________________", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo2_7") == -1 )
{
ObjectCreate("session_time_tokyo2_7", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo2_7", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo2_7", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo2_7", OBJPROP_XDISTANCE, 169+Shift_X);
ObjectSet("session_time_tokyo2_7", OBJPROP_YDISTANCE, 261+Shift_Y);
ObjectSetText("session_time_tokyo2_7","______________________", 8,"Times New Roman",Magenta);

 if (ObjectFind("session_time_tokyo3_1") == -1 )
{
ObjectCreate("session_time_tokyo3_1", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo3_1", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo3_1", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo3_1", OBJPROP_XDISTANCE, 516+Shift_X);
ObjectSet("session_time_tokyo3_1", OBJPROP_YDISTANCE, 249+Shift_Y);
ObjectSetText("session_time_tokyo3_1","___", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo3_2") == -1 )
{
ObjectCreate("session_time_tokyo3_2", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo3_2", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo3_2", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo3_2", OBJPROP_XDISTANCE, 516+Shift_X);
ObjectSet("session_time_tokyo3_2", OBJPROP_YDISTANCE, 251+Shift_Y);
ObjectSetText("session_time_tokyo3_2","___", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo3_3") == -1 )
{
ObjectCreate("session_time_tokyo3_3", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo3_3", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo3_3", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo3_3", OBJPROP_XDISTANCE, 516+Shift_X);
ObjectSet("session_time_tokyo3_3", OBJPROP_YDISTANCE, 253+Shift_Y);
ObjectSetText("session_time_tokyo3_3","___", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_sydney_4") == -1 )
{
ObjectCreate("session_time_tokyo3_4", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo3_4", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo3_4", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo3_4", OBJPROP_XDISTANCE, 516+Shift_X);
ObjectSet("session_time_tokyo3_4", OBJPROP_YDISTANCE, 255+Shift_Y);
ObjectSetText("session_time_tokyo3_4","___", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo3_5") == -1 )
{
ObjectCreate("session_time_tokyo3_5", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo3_5", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo3_5", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo3_5", OBJPROP_XDISTANCE, 516+Shift_X);
ObjectSet("session_time_tokyo3_5", OBJPROP_YDISTANCE, 257+Shift_Y);
ObjectSetText("session_time_tokyo3_5","___", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_sydney_6") == -1 )
{
ObjectCreate("session_time_tokyo3_6", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo3_6", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo3_6", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo3_6", OBJPROP_XDISTANCE, 516+Shift_X);
ObjectSet("session_time_tokyo3_6", OBJPROP_YDISTANCE, 259+Shift_Y);
ObjectSetText("session_time_tokyo3_6","___", 8,"Times New Roman",Magenta);

if (ObjectFind("session_time_tokyo3_7") == -1 )
{
ObjectCreate("session_time_tokyo3_7", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_tokyo3_7", OBJPROP_BACK, 1);
ObjectSet("session_time_tokyo3_7", OBJPROP_CORNER, 0);}
ObjectSet("session_time_tokyo3_7", OBJPROP_XDISTANCE, 516+Shift_X);
ObjectSet("session_time_tokyo3_7", OBJPROP_YDISTANCE, 261+Shift_Y);
ObjectSetText("session_time_tokyo3_7","___", 8,"Times New Roman",Magenta);
//////////////////

if (ObjectFind("session_time_frankfurt") == -1 )
{
ObjectCreate("session_time_frankfurt", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_frankfurt", OBJPROP_BACK, 0);
ObjectSet("session_time_frankfurt", OBJPROP_CORNER, 0);}
ObjectSet("session_time_frankfurt", OBJPROP_XDISTANCE, 308+Shift_X);
ObjectSet("session_time_frankfurt", OBJPROP_YDISTANCE, 276+Shift_Y);
ObjectSetText("session_time_frankfurt","Frankfurt GMT", 8,"Tahoma",White);

if (ObjectFind("session_time_frankfurt2_1") == -1 )
{
ObjectCreate("session_time_frankfurt2_1", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_frankfurt2_1", OBJPROP_BACK, 1);
ObjectSet("session_time_frankfurt2_1", OBJPROP_CORNER, 0);}
ObjectSet("session_time_frankfurt2_1", OBJPROP_XDISTANCE, 276+Shift_X);
ObjectSet("session_time_frankfurt2_1", OBJPROP_YDISTANCE, 277+Shift_Y);
ObjectSetText("session_time_frankfurt2_1","________________________", 8,"Times New Roman",Blue);

if (ObjectFind("session_time_frankfurt2_2") == -1 )
{
ObjectCreate("session_time_frankfurt2_2", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_frankfurt2_2", OBJPROP_BACK, 1);
ObjectSet("session_time_frankfurt2_2", OBJPROP_CORNER, 0);}
ObjectSet("session_time_frankfurt2_2", OBJPROP_XDISTANCE, 276+Shift_X);
ObjectSet("session_time_frankfurt2_2", OBJPROP_YDISTANCE, 275+Shift_Y);
ObjectSetText("session_time_frankfurt2_2","________________________", 8,"Times New Roman",Blue);

if (ObjectFind("session_time_frankfurt2_3") == -1 )
{
ObjectCreate("session_time_frankfurt2_3", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_frankfurt2_3", OBJPROP_BACK, 1);
ObjectSet("session_time_frankfurt2_3", OBJPROP_CORNER, 0);}
ObjectSet("session_time_frankfurt2_3", OBJPROP_XDISTANCE, 276+Shift_X);
ObjectSet("session_time_frankfurt2_3", OBJPROP_YDISTANCE, 273+Shift_Y);
ObjectSetText("session_time_frankfurt2_3","________________________", 8,"Times New Roman",Blue);

if (ObjectFind("session_time_frankfurt2_4") == -1 )
{
ObjectCreate("session_time_frankfurt2_4", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_frankfurt2_4", OBJPROP_BACK, 1);
ObjectSet("session_time_frankfurt2_4", OBJPROP_CORNER, 0);}
ObjectSet("session_time_frankfurt2_4", OBJPROP_XDISTANCE, 276+Shift_X);
ObjectSet("session_time_frankfurt2_4", OBJPROP_YDISTANCE, 271+Shift_Y);
ObjectSetText("session_time_frankfurt2_4","________________________", 8,"Times New Roman",Blue);

if (ObjectFind("session_time_frankfurt2_5") == -1 )
{
ObjectCreate("session_time_frankfurt2_5", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_frankfurt2_5", OBJPROP_BACK, 1);
ObjectSet("session_time_frankfurt2_5", OBJPROP_CORNER, 0);}
ObjectSet("session_time_frankfurt2_5", OBJPROP_XDISTANCE, 276+Shift_X);
ObjectSet("session_time_frankfurt2_5", OBJPROP_YDISTANCE, 269+Shift_Y);
ObjectSetText("session_time_frankfurt2_5","________________________", 8,"Times New Roman",Blue);

if (ObjectFind("session_time_frankfurt2_6") == -1 )
{
ObjectCreate("session_time_frankfurt2_6", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_frankfurt2_6", OBJPROP_BACK, 1);
ObjectSet("session_time_frankfurt2_6", OBJPROP_CORNER, 0);}
ObjectSet("session_time_frankfurt2_6", OBJPROP_XDISTANCE, 276+Shift_X);
ObjectSet("session_time_frankfurt2_6", OBJPROP_YDISTANCE, 267+Shift_Y);
ObjectSetText("session_time_frankfurt2_6","________________________", 8,"Times New Roman",Blue);

if (ObjectFind("session_time_frankfurt2_7") == -1 )
{
ObjectCreate("session_time_frankfurt2_7", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_frankfurt2_7", OBJPROP_BACK, 1);
ObjectSet("session_time_frankfurt2_7", OBJPROP_CORNER, 0);}
ObjectSet("session_time_frankfurt2_7", OBJPROP_XDISTANCE, 276+Shift_X);
ObjectSet("session_time_frankfurt2_7", OBJPROP_YDISTANCE, 265+Shift_Y);
ObjectSetText("session_time_frankfurt2_7","________________________", 8,"Times New Roman",Blue);
////////////////////

///////////////////
 if (ObjectFind("session_time_london_1") == -1 )
{
ObjectCreate("session_time_london_1", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_london_1", OBJPROP_BACK, 1);
ObjectSet("session_time_london_1", OBJPROP_CORNER, 0);}
ObjectSet("session_time_london_1", OBJPROP_XDISTANCE, 291+Shift_X);
ObjectSet("session_time_london_1", OBJPROP_YDISTANCE, 207+Shift_Y);
ObjectSetText("session_time_london_1","________________________", 8,"Times New Roman",Lime);

if (ObjectFind("session_time_london_2") == -1 )
{
ObjectCreate("session_time_london_2", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_london_2", OBJPROP_BACK, 1);
ObjectSet("session_time_london_2", OBJPROP_CORNER, 0);}
ObjectSet("session_time_london_2", OBJPROP_XDISTANCE, 291+Shift_X);
ObjectSet("session_time_london_2", OBJPROP_YDISTANCE, 209+Shift_Y);
ObjectSetText("session_time_london_2","________________________", 8,"Times New Roman",Lime);

if (ObjectFind("session_time_london_3") == -1 )
{
ObjectCreate("session_time_london_3", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_london_3", OBJPROP_BACK, 1);
ObjectSet("session_time_london_3", OBJPROP_CORNER, 0);}
ObjectSet("session_time_london_3", OBJPROP_XDISTANCE, 291+Shift_X);
ObjectSet("session_time_london_3", OBJPROP_YDISTANCE, 211+Shift_Y);
ObjectSetText("session_time_london_3","________________________", 8,"Times New Roman",Lime);

if (ObjectFind("session_time_london_4") == -1 )
{
ObjectCreate("session_time_london_4", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_london_4", OBJPROP_BACK, 1);
ObjectSet("session_time_london_4", OBJPROP_CORNER, 0);}
ObjectSet("session_time_london_4", OBJPROP_XDISTANCE, 291+Shift_X);
ObjectSet("session_time_london_4", OBJPROP_YDISTANCE, 213+Shift_Y);
ObjectSetText("session_time_london_4","________________________", 8,"Times New Roman",Lime);

if (ObjectFind("session_time_london_5") == -1 )
{
ObjectCreate("session_time_london_5", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_london_5", OBJPROP_BACK, 1);
ObjectSet("session_time_london_5", OBJPROP_CORNER, 0);}
ObjectSet("session_time_london_5", OBJPROP_XDISTANCE, 291+Shift_X);
ObjectSet("session_time_london_5", OBJPROP_YDISTANCE, 215+Shift_Y);
ObjectSetText("session_time_london_5","________________________", 8,"Times New Roman",Lime);

if (ObjectFind("session_time_london_6") == -1 )
{
ObjectCreate("session_time_london_6", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_london_6", OBJPROP_BACK, 1);
ObjectSet("session_time_london_6", OBJPROP_CORNER, 0);}
ObjectSet("session_time_london_6", OBJPROP_XDISTANCE, 291+Shift_X);
ObjectSet("session_time_london_6", OBJPROP_YDISTANCE, 217+Shift_Y);
ObjectSetText("session_time_london_6","________________________", 8,"Times New Roman",Lime);

if (ObjectFind("session_time_london_7") == -1 )
{
ObjectCreate("session_time_london_7", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_london_7", OBJPROP_BACK, 1);
ObjectSet("session_time_london_7", OBJPROP_CORNER, 0);}
ObjectSet("session_time_london_7", OBJPROP_XDISTANCE, 291+Shift_X);
ObjectSet("session_time_london_7", OBJPROP_YDISTANCE, 219+Shift_Y);
ObjectSetText("session_time_london_7","________________________", 8,"Times New Roman",Lime);
///////////////////
 if (ObjectFind("session_time_ny_1") == -1 )
{
ObjectCreate("session_time_ny_1", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_ny_1", OBJPROP_BACK, 1);
ObjectSet("session_time_ny_1", OBJPROP_CORNER, 0);}
ObjectSet("session_time_ny_1", OBJPROP_XDISTANCE, 365+Shift_X);
ObjectSet("session_time_ny_1", OBJPROP_YDISTANCE, 221+Shift_Y);
ObjectSetText("session_time_ny_1","________________________", 8,"Times New Roman",Red);

if (ObjectFind("session_time_ny_2") == -1 )
{
ObjectCreate("session_time_ny_2", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_ny_2", OBJPROP_BACK, 1);
ObjectSet("session_time_ny_2", OBJPROP_CORNER, 0);}
ObjectSet("session_time_ny_2", OBJPROP_XDISTANCE, 365+Shift_X);
ObjectSet("session_time_ny_2", OBJPROP_YDISTANCE, 223+Shift_Y);
ObjectSetText("session_time_ny_2","________________________", 8,"Times New Roman",Red);

if (ObjectFind("session_time_ny_3") == -1 )
{
ObjectCreate("session_time_ny_3", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_ny_3", OBJPROP_BACK, 1);
ObjectSet("session_time_ny_3", OBJPROP_CORNER, 0);}
ObjectSet("session_time_ny_3", OBJPROP_XDISTANCE, 365+Shift_X);
ObjectSet("session_time_ny_3", OBJPROP_YDISTANCE, 225+Shift_Y);
ObjectSetText("session_time_ny_3","________________________", 8,"Times New Roman",Red);

if (ObjectFind("session_time_ny_4") == -1 )
{
ObjectCreate("session_time_ny_4", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_ny_4", OBJPROP_BACK, 1);
ObjectSet("session_time_ny_4", OBJPROP_CORNER, 0);}
ObjectSet("session_time_ny_4", OBJPROP_XDISTANCE, 365+Shift_X);
ObjectSet("session_time_ny_4", OBJPROP_YDISTANCE, 227+Shift_Y);
ObjectSetText("session_time_ny_4","________________________", 8,"Times New Roman",Red);

if (ObjectFind("session_time_ny_5") == -1 )
{
ObjectCreate("session_time_ny_5", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_ny_5", OBJPROP_BACK, 1);
ObjectSet("session_time_ny_5", OBJPROP_CORNER, 0);}
ObjectSet("session_time_ny_5", OBJPROP_XDISTANCE, 365+Shift_X);
ObjectSet("session_time_ny_5", OBJPROP_YDISTANCE, 229+Shift_Y);
ObjectSetText("session_time_ny_5","________________________", 8,"Times New Roman",Red);

if (ObjectFind("session_time_ny_6") == -1 )
{
ObjectCreate("session_time_ny_6", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_ny_6", OBJPROP_BACK, 1);
ObjectSet("session_time_ny_6", OBJPROP_CORNER, 0);}
ObjectSet("session_time_ny_6", OBJPROP_XDISTANCE, 365+Shift_X);
ObjectSet("session_time_ny_6", OBJPROP_YDISTANCE, 231+Shift_Y);
ObjectSetText("session_time_ny_6","________________________", 8,"Times New Roman",Red);

if (ObjectFind("session_time_ny_7") == -1 )
{
ObjectCreate("session_time_ny_7", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_ny_7", OBJPROP_BACK, 1);
ObjectSet("session_time_ny_7", OBJPROP_CORNER, 0);}
ObjectSet("session_time_ny_7", OBJPROP_XDISTANCE, 365+Shift_X);
ObjectSet("session_time_ny_7", OBJPROP_YDISTANCE, 233+Shift_Y);
ObjectSetText("session_time_ny_7","________________________", 8,"Times New Roman",Red);

///////////////////
 if (ObjectFind("session_time_sydney_1") == -1 )
{
ObjectCreate("session_time_sydney_1", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_sydney_1", OBJPROP_BACK, 1);
ObjectSet("session_time_sydney_1", OBJPROP_CORNER, 0);}
ObjectSet("session_time_sydney_1", OBJPROP_XDISTANCE, 485+Shift_X);
ObjectSet("session_time_sydney_1", OBJPROP_YDISTANCE, 235+Shift_Y);
ObjectSetText("session_time_sydney_1","_________", 8,"Times New Roman",Aqua);

if (ObjectFind("session_time_sydney_2") == -1 )
{
ObjectCreate("session_time_sydney_2", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_sydney_2", OBJPROP_BACK, 1);
ObjectSet("session_time_sydney_2", OBJPROP_CORNER, 0);}
ObjectSet("session_time_sydney_2", OBJPROP_XDISTANCE, 485+Shift_X);
ObjectSet("session_time_sydney_2", OBJPROP_YDISTANCE, 237+Shift_Y);
ObjectSetText("session_time_sydney_2","_________", 8,"Times New Roman",Aqua);

if (ObjectFind("session_time_sydney_3") == -1 )
{
ObjectCreate("session_time_sydney_3", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_sydney_3", OBJPROP_BACK, 1);
ObjectSet("session_time_sydney_3", OBJPROP_CORNER, 0);}
ObjectSet("session_time_sydney_3", OBJPROP_XDISTANCE, 485+Shift_X);
ObjectSet("session_time_sydney_3", OBJPROP_YDISTANCE, 239+Shift_Y);
ObjectSetText("session_time_sydney_3","_________", 8,"Times New Roman",Aqua);

if (ObjectFind("session_time_sydney_4") == -1 )
{
ObjectCreate("session_time_sydney_4", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_sydney_4", OBJPROP_BACK, 1);
ObjectSet("session_time_sydney_4", OBJPROP_CORNER, 0);}
ObjectSet("session_time_sydney_4", OBJPROP_XDISTANCE, 485+Shift_X);
ObjectSet("session_time_sydney_4", OBJPROP_YDISTANCE, 241+Shift_Y);
ObjectSetText("session_time_sydney_4","_________", 8,"Times New Roman",Aqua);

if (ObjectFind("session_time_sydney_5") == -1 )
{
ObjectCreate("session_time_sydney_5", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_sydney_5", OBJPROP_BACK, 1);
ObjectSet("session_time_sydney_5", OBJPROP_CORNER, 0);}
ObjectSet("session_time_sydney_5", OBJPROP_XDISTANCE, 485+Shift_X);
ObjectSet("session_time_sydney_5", OBJPROP_YDISTANCE, 243+Shift_Y);
ObjectSetText("session_time_sydney_5","_________", 8,"Times New Roman",Aqua);

if (ObjectFind("session_time_sydney_6") == -1 )
{
ObjectCreate("session_time_sydney_6", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_sydney_6", OBJPROP_BACK, 1);
ObjectSet("session_time_sydney_6", OBJPROP_CORNER, 0);}
ObjectSet("session_time_sydney_6", OBJPROP_XDISTANCE, 485+Shift_X);
ObjectSet("session_time_sydney_6", OBJPROP_YDISTANCE, 245+Shift_Y);
ObjectSetText("session_time_sydney_6","_________", 8,"Times New Roman",Aqua);

if (ObjectFind("session_time_sydney_7") == -1 )
{
ObjectCreate("session_time_sydney_7", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_sydney_7", OBJPROP_BACK, 1);
ObjectSet("session_time_sydney_7", OBJPROP_CORNER, 0);}
ObjectSet("session_time_sydney_7", OBJPROP_XDISTANCE, 485+Shift_X);
ObjectSet("session_time_sydney_7", OBJPROP_YDISTANCE, 247+Shift_Y);
ObjectSetText("session_time_sydney_7","_________", 8,"Times New Roman",Aqua);

///////////////////
 if (ObjectFind("ssession_time_sydney_1") == -1 )
{
ObjectCreate("ssession_time_sydney_1", OBJ_LABEL, companion, 0, 0);
ObjectSet("ssession_time_sydney_1", OBJPROP_BACK, 1);
ObjectSet("ssession_time_sydney_1", OBJPROP_CORNER, 0);}
ObjectSet("ssession_time_sydney_1", OBJPROP_XDISTANCE, 171+Shift_X);
ObjectSet("ssession_time_sydney_1", OBJPROP_YDISTANCE, 218+Shift_Y);
ObjectSetText("ssession_time_sydney_1","______", 20,"Times New Roman",Aqua);

if (ObjectFind("ssession_time_sydney_2") == -1 )
{
ObjectCreate("ssession_time_sydney_2", OBJ_LABEL, companion, 0, 0);
ObjectSet("ssession_time_sydney_2", OBJPROP_BACK, 1);
ObjectSet("ssession_time_sydney_2", OBJPROP_CORNER, 0);}
ObjectSet("ssession_time_sydney_2", OBJPROP_XDISTANCE, 171+Shift_X);
ObjectSet("ssession_time_sydney_2", OBJPROP_YDISTANCE, 220+Shift_Y);
ObjectSetText("ssession_time_sydney_2","______", 20,"Times New Roman",Aqua);

if (ObjectFind("ssession_time_sydney_3") == -1 )
{
ObjectCreate("ssession_time_sydney_3", OBJ_LABEL, companion, 0, 0);
ObjectSet("ssession_time_sydney_3", OBJPROP_BACK, 1);
ObjectSet("ssession_time_sydney_3", OBJPROP_CORNER, 0);}
ObjectSet("ssession_time_sydney_3", OBJPROP_XDISTANCE, 171+Shift_X);
ObjectSet("ssession_time_sydney_3", OBJPROP_YDISTANCE, 222+Shift_Y);
ObjectSetText("ssession_time_sydney_3","______", 20,"Times New Roman",Aqua);

if (ObjectFind("ssession_time_sydney_4") == -1 )
{
ObjectCreate("ssession_time_sydney_4", OBJ_LABEL, companion, 0, 0);
ObjectSet("ssession_time_sydney_4", OBJPROP_BACK, 1);
ObjectSet("ssession_time_sydney_4", OBJPROP_CORNER, 0);}
ObjectSet("ssession_time_sydney_4", OBJPROP_XDISTANCE, 171+Shift_X);
ObjectSet("ssession_time_sydney_4", OBJPROP_YDISTANCE, 224+Shift_Y);
ObjectSetText("ssession_time_sydney_4","______", 20,"Times New Roman",Aqua);

if (ObjectFind("ssession_time_sydney_5") == -1 )
{
ObjectCreate("ssession_time_sydney_5", OBJ_LABEL, companion, 0, 0);
ObjectSet("ssession_time_sydney_5", OBJPROP_BACK, 1);
ObjectSet("ssession_time_sydney_5", OBJPROP_CORNER, 0);}
ObjectSet("ssession_time_sydney_5", OBJPROP_XDISTANCE, 171+Shift_X);
ObjectSet("ssession_time_sydney_5", OBJPROP_YDISTANCE, 226+Shift_Y);
ObjectSetText("ssession_time_sydney_5","______", 20,"Times New Roman",Aqua);

if (ObjectFind("ssession_time_sydney_6") == -1 )
{
ObjectCreate("ssession_time_sydney_6", OBJ_LABEL, companion, 0, 0);
ObjectSet("ssession_time_sydney_6", OBJPROP_BACK, 1);
ObjectSet("ssession_time_sydney_6", OBJPROP_CORNER, 0);}
ObjectSet("ssession_time_sydney_6", OBJPROP_XDISTANCE, 171+Shift_X);
ObjectSet("ssession_time_sydney_6", OBJPROP_YDISTANCE, 228+Shift_Y);
ObjectSetText("ssession_time_sydney_6","______", 20,"Times New Roman",Aqua);

if (ObjectFind("ssession_time_sydney_7") == -1 )
{
ObjectCreate("ssession_time_sydney_7", OBJ_LABEL, companion, 0, 0);
ObjectSet("ssession_time_sydney_7", OBJPROP_BACK, 1);
ObjectSet("ssession_time_sydney_7", OBJPROP_CORNER, 0);}
ObjectSet("ssession_time_sydney_7", OBJPROP_XDISTANCE, 171+Shift_X);
ObjectSet("ssession_time_sydney_7", OBJPROP_YDISTANCE, 230+Shift_Y);
ObjectSetText("ssession_time_sydney_7","_______", 20,"Times New Roman",Aqua);


if (ObjectFind("session_time_hour_0") == -1 )
{
ObjectCreate("session_time_hour_0", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_0", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_0", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_0", OBJPROP_XDISTANCE, 170+Shift_X);
ObjectSet("session_time_hour_0", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_0","0", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_1") == -1 )
{
ObjectCreate("session_time_hour_1", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_1", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_1", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_1", OBJPROP_XDISTANCE, 185+Shift_X);
ObjectSet("session_time_hour_1", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_1","1", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_2") == -1 )
{
ObjectCreate("session_time_hour_2", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_2", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_2", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_2", OBJPROP_XDISTANCE, 200+Shift_X);
ObjectSet("session_time_hour_2", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_2","2", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_3") == -1 )
{
ObjectCreate("session_time_hour_3", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_3", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_3", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_3", OBJPROP_XDISTANCE, 215+Shift_X);
ObjectSet("session_time_hour_3", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_3","3", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_4") == -1 )
{
ObjectCreate("session_time_hour_4", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_4", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_4", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_4", OBJPROP_XDISTANCE, 230+Shift_X);
ObjectSet("session_time_hour_4", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_4","4", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_5") == -1 )
{
ObjectCreate("session_time_hour_5", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_5", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_5", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_5", OBJPROP_XDISTANCE, 245+Shift_X);
ObjectSet("session_time_hour_5", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_5","5", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_6") == -1 )
{
ObjectCreate("session_time_hour_6", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_6", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_6", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_6", OBJPROP_XDISTANCE, 260+Shift_X);
ObjectSet("session_time_hour_6", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_6","6", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_7") == -1 )
{
ObjectCreate("session_time_hour_7", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_7", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_7", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_7", OBJPROP_XDISTANCE, 275+Shift_X);
ObjectSet("session_time_hour_7", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_7","7", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_8") == -1 )
{
ObjectCreate("session_time_hour_8", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_8", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_8", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_8", OBJPROP_XDISTANCE, 290+Shift_X);
ObjectSet("session_time_hour_8", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_8","8", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_9") == -1 )
{
ObjectCreate("session_time_hour_9", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_9", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_9", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_9", OBJPROP_XDISTANCE, 305+Shift_X);
ObjectSet("session_time_hour_9", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_9","9", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_10") == -1 )
{
ObjectCreate("session_time_hour_10", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_10", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_10", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_10", OBJPROP_XDISTANCE, 315+Shift_X);
ObjectSet("session_time_hour_10", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_10","10", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_11") == -1 )
{
ObjectCreate("session_time_hour_11", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_11", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_11", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_11", OBJPROP_XDISTANCE, 330+Shift_X);
ObjectSet("session_time_hour_11", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_11","11", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_12") == -1 )
{
ObjectCreate("session_time_hour_12", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_12", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_12", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_12", OBJPROP_XDISTANCE, 345+Shift_X);
ObjectSet("session_time_hour_12", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_12","12", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_13") == -1 )
{
ObjectCreate("session_time_hour_13", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_13", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_13", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_13", OBJPROP_XDISTANCE, 360+Shift_X);
ObjectSet("session_time_hour_13", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_13","13", 8,"Times New Roman",Silver);


if (ObjectFind("session_time_hour_14") == -1 )
{
ObjectCreate("session_time_hour_14", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_14", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_14", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_14", OBJPROP_XDISTANCE, 375+Shift_X);
ObjectSet("session_time_hour_14", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_14","14", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_15") == -1 )
{
ObjectCreate("session_time_hour_15", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_15", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_15", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_15", OBJPROP_XDISTANCE, 390+Shift_X);
ObjectSet("session_time_hour_15", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_15","15", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_16") == -1 )
{
ObjectCreate("session_time_hour_16", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_16", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_16", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_16", OBJPROP_XDISTANCE, 405+Shift_X);
ObjectSet("session_time_hour_16", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_16","16", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_17") == -1 )
{
ObjectCreate("session_time_hour_17", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_17", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_17", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_17", OBJPROP_XDISTANCE, 420+Shift_X);
ObjectSet("session_time_hour_17", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_17","17", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_18") == -1 )
{
ObjectCreate("session_time_hour_18", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_18", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_18", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_18", OBJPROP_XDISTANCE, 435+Shift_X);
ObjectSet("session_time_hour_18", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_18","18", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_19") == -1 )
{
ObjectCreate("session_time_hour_19", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_19", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_19", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_19", OBJPROP_XDISTANCE, 450+Shift_X);
ObjectSet("session_time_hour_19", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_19","19", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_20") == -1 )
{
ObjectCreate("session_time_hour_20", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_20", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_20", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_20", OBJPROP_XDISTANCE, 465+Shift_X);
ObjectSet("session_time_hour_20", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_20","20", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_21") == -1 )
{
ObjectCreate("session_time_hour_21", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_21", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_21", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_21", OBJPROP_XDISTANCE, 480+Shift_X);
ObjectSet("session_time_hour_21", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_21","21", 8,"Times New Roman",Silver);


if (ObjectFind("session_time_hour_22") == -1 )
{
ObjectCreate("session_time_hour_22", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_22", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_22", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_22", OBJPROP_XDISTANCE, 495+Shift_X);
ObjectSet("session_time_hour_22", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_22","22", 8,"Times New Roman",Silver);

if (ObjectFind("session_time_hour_23") == -1 )
{
ObjectCreate("session_time_hour_23", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_hour_23", OBJPROP_BACK, 1);
ObjectSet("session_time_hour_23", OBJPROP_CORNER, 0);}
ObjectSet("session_time_hour_23", OBJPROP_XDISTANCE, 510+Shift_X);
ObjectSet("session_time_hour_23", OBJPROP_YDISTANCE, 200+Shift_Y);
ObjectSetText("session_time_hour_23","23", 8,"Times New Roman",Silver);
}

void timer(){
  if (ObjectFind("session_time_current") == -1 )
{
ObjectCreate("session_time_current", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_current", OBJPROP_BACK, 0);
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 345+Shift_X);
ObjectSet("session_time_current", OBJPROP_CORNER, 0);}
ObjectSet("session_time_current", OBJPROP_YDISTANCE, 207+Shift_Y);
ObjectSetText("session_time_current","|", 34,"Times New Roman",Red);



if (ObjectFind("session_time_current2") == -1 )
{
ObjectCreate("session_time_current2", OBJ_LABEL, companion, 0, 0);
ObjectSet("session_time_current2", OBJPROP_BACK, 0);
//ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 504+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 345+Shift_X);
ObjectSet("session_time_current2", OBJPROP_CORNER, 0);}
ObjectSet("session_time_current2", OBJPROP_YDISTANCE, 241+Shift_Y);
ObjectSetText("session_time_current2","|", 34,"Times New Roman",Red);

if (ObjectFind("time2") == -1 ){
ObjectCreate("time2", OBJ_LABEL, companion, 0, 0);
ObjectSet("time2", OBJPROP_XDISTANCE, 350+Shift_X);

ObjectSet("time2", OBJPROP_BACK, 1);}
ObjectSet("time2", OBJPROP_YDISTANCE, 294+Shift_Y);
ObjectSet("time2", OBJPROP_CORNER, 0);

// ObjectSetText("time2",""+Hour()+":"+Minute()+":"+Seconds()+"", 8,"Times New Roman",Silver);
   string GMTtime = TimeToStr(TimeGMT(), TIME_MINUTES|TIME_SECONDS);
   int GMTm = TimeMinute(TimeLocal()) - 0.1 * TimeZoneLocal();
   int GMTh =  TimeHour(TimeLocal()) - 1 * TimeZoneLocal();              //test
   ObjectSetText("time2",""+GMTtime+"", 8,"Times New Roman",Silver);

//if (Hour()==23&&Minute()<=30&&Minute()<15){
if (GMTh==23&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 512+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 512+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 515+Shift_X);}
if (GMTh==23&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 519+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 519+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 522+Shift_X);}

if (GMTh==22&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 497+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 497+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 500+Shift_X);}
if (GMTh==22&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 504+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 504+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 507+Shift_X);}

if (GMTh==21&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 482+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 482+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 485+Shift_X);}
if (GMTh==21&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 489+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 489+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 492+Shift_X);}

if (GMTh==20&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 465+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 465+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 468+Shift_X);}
if (GMTh==20&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 474+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 474+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 477+Shift_X);}

if (GMTh==19&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 451+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 451+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 454+Shift_X);}
if (GMTh==19&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 458+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 458+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 461+Shift_X);}

if (GMTh==18&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 436+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 436+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 439+Shift_X);}
if (GMTh==18&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 443+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 443+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 446+Shift_X);}

if (GMTh==17&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 421+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 421+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 424+Shift_X);}
if (GMTh==17&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 428+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 428+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 431+Shift_X);}

if (GMTh==16&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 406+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 406+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 409+Shift_X);}
if (GMTh==16&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 413+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 413+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 416+Shift_X);}

if (GMTh==15&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 392+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 392+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 395+Shift_X);}
if (GMTh==15&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 399+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 399+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 402+Shift_X);}

if (GMTh==14&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 377+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 377+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 380+Shift_X);}
if (GMTh==14&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 384+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 384+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 387+Shift_X);}

if (GMTh==13&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 363+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 363+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 366+Shift_X);}
if (GMTh==13&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 370+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 370+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 373+Shift_X);}

if (GMTh==12&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 339+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 339+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 342+Shift_X);}
if (GMTh==12&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 356+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 356+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 359+Shift_X);}

if (GMTh==11&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 332+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 332+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 335+Shift_X);}
if (GMTh==11&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 339+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 339+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 342+Shift_X);}

if (GMTh==10&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 318+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 318+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 321+Shift_X);}
if (GMTh==10&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 325+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 325+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 328+Shift_X);}

if (GMTh==9&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 304+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 304+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 307+Shift_X);}
if (GMTh==9&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 311+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 311+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 314+Shift_X);}

if (GMTh==8&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 289+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 289+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 292+Shift_X);}
if (GMTh==8&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 297+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 297+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 300+Shift_X);}

if (GMTh==7&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 273+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 273+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 276+Shift_X);}
if (GMTh==7&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 282+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 282+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 285+Shift_X);}

if (GMTh==6&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 258+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 258+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 261+Shift_X);}
if (GMTh==6&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 267+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 267+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 270+Shift_X);}

if (GMTh==5&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 244+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 244+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 247+Shift_X);}
if (GMTh==5&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 251+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 251+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 254+Shift_X);}

if (GMTh==4&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 229+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 229+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 232+Shift_X);}
if (GMTh==4&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 236+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 236+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 239+Shift_X);}

if (GMTh==3&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 213+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 213+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 216+Shift_X);}
if (GMTh==3&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 220+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 220+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 223+Shift_X);}

if (GMTh==2&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 198+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 198+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 201+Shift_X);}
if (GMTh==2&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 205+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 205+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 208+Shift_X);}

if (GMTh==1&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 184+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 184+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 187+Shift_X);}
if (GMTh==1&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 191+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 191+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 194+Shift_X);}

if (GMTh==24&&GMTm<=30&&GMTm<15){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 167+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 167+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 170+Shift_X);}
if (GMTh==24&&GMTm>=30&&GMTm<45){
ObjectSet("session_time_current", OBJPROP_XDISTANCE, 174+Shift_X);
ObjectSet("session_time_current2", OBJPROP_XDISTANCE, 174+Shift_X);
ObjectSet("time2", OBJPROP_XDISTANCE, 177+Shift_X);}

}

void market_hours_box(){
   if (ObjectFind("market_hours_box_top") == -1 ){
ObjectCreate("market_hours_box_top", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_top", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_top", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_top", OBJPROP_XDISTANCE, 170+Shift_X);
ObjectSet("market_hours_box_top", OBJPROP_YDISTANCE, 205+Shift_Y);
ObjectSetText("market_hours_box_top","______________________________________________________________", 8,"Times New Roman",Silver);

 if (ObjectFind("market_hours_box_top2") == -1 ){
ObjectCreate("market_hours_box_top2", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_top2", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_top2", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_top2", OBJPROP_XDISTANCE, 475+Shift_X);
ObjectSet("market_hours_box_top2", OBJPROP_YDISTANCE, 205+Shift_Y);
ObjectSetText("market_hours_box_top2","___________", 8,"Times New Roman",Silver);

 if (ObjectFind("market_hours_box_bottom") == -1 ){
ObjectCreate("market_hours_box_bottom", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_bottom", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_bottom", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_bottom", OBJPROP_XDISTANCE, 170+Shift_X);
ObjectSet("market_hours_box_bottom", OBJPROP_YDISTANCE, 263+Shift_Y);
ObjectSetText("market_hours_box_bottom","______________________________________________________________", 8,"Times New Roman",Silver);

 if (ObjectFind("market_hours_box_bottom2") == -1 ){
ObjectCreate("market_hours_box_bottom2", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_bottom2", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_bottom2", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_bottom2", OBJPROP_XDISTANCE, 475+Shift_X);
ObjectSet("market_hours_box_bottom2", OBJPROP_YDISTANCE, 263+Shift_Y);
ObjectSetText("market_hours_box_bottom2","___________", 8,"Times New Roman",Silver);

 if (ObjectFind("market_hours_box_bottom3") == -1 ){
ObjectCreate("market_hours_box_bottom3", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_bottom3", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_bottom3", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_bottom3", OBJPROP_XDISTANCE, 170+Shift_X);
ObjectSet("market_hours_box_bottom3", OBJPROP_YDISTANCE, 279+Shift_Y);
ObjectSetText("market_hours_box_bottom3","______________________________________________________________", 8,"Times New Roman",Silver);

 if (ObjectFind("market_hours_box_bottom3a") == -1 ){
ObjectCreate("market_hours_box_bottom3a", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_bottom3a", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_bottom3a", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_bottom3a", OBJPROP_XDISTANCE, 475+Shift_X);
ObjectSet("market_hours_box_bottom3a", OBJPROP_YDISTANCE, 279+Shift_Y);
ObjectSetText("market_hours_box_bottom3a","___________", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_level") == -1 ){
ObjectCreate("market_hours_box_level", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_level", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_level", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_level", OBJPROP_XDISTANCE, 170+Shift_X);
ObjectSet("market_hours_box_level", OBJPROP_YDISTANCE, 247+Shift_Y);
ObjectSetText("market_hours_box_level","______________________________________________________________", 8,"Times New Roman",Silver);

 if (ObjectFind("market_hours_box_levelb") == -1 ){
ObjectCreate("market_hours_box_levelb", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_levelb", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_levelb", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_levelb", OBJPROP_XDISTANCE, 475+Shift_X);
ObjectSet("market_hours_box_levelb", OBJPROP_YDISTANCE, 247+Shift_Y);
ObjectSetText("market_hours_box_levelb","___________", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_level2") == -1 ){
ObjectCreate("market_hours_box_level2", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_level2", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_level2", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_level2", OBJPROP_XDISTANCE, 170+Shift_X);
ObjectSet("market_hours_box_level2", OBJPROP_YDISTANCE, 233+Shift_Y);
ObjectSetText("market_hours_box_level2","______________________________________________________________", 8,"Times New Roman",Silver);

 if (ObjectFind("market_hours_box_level2b") == -1 ){
ObjectCreate("market_hours_box_level2b", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_level2b", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_level2b", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_level2b", OBJPROP_XDISTANCE, 475+Shift_X);
ObjectSet("market_hours_box_level2b", OBJPROP_YDISTANCE, 233+Shift_Y);
ObjectSetText("market_hours_box_level2b","___________", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_level3") == -1 ){
ObjectCreate("market_hours_box_level3", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_level3", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_level3", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_level3", OBJPROP_XDISTANCE, 170+Shift_X);
ObjectSet("market_hours_box_level3", OBJPROP_YDISTANCE, 219+Shift_Y);
ObjectSetText("market_hours_box_level3","______________________________________________________________", 8,"Times New Roman",Silver);

 if (ObjectFind("market_hours_box_level3b") == -1 ){
ObjectCreate("market_hours_box_level3b", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_level3b", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_level3b", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_level3b", OBJPROP_XDISTANCE, 475+Shift_X);
ObjectSet("market_hours_box_level3b", OBJPROP_YDISTANCE, 219+Shift_Y);
ObjectSetText("market_hours_box_level3b","___________", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_left") == -1 ){
ObjectCreate("market_hours_box_left", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_left", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_left", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_left", OBJPROP_XDISTANCE, 168+Shift_X);
ObjectSet("market_hours_box_left", OBJPROP_YDISTANCE, 213+Shift_Y);
ObjectSetText("market_hours_box_left","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_left2") == -1 ){
ObjectCreate("market_hours_box_left2", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_left2", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_left2", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_left2", OBJPROP_XDISTANCE, 168+Shift_X);
ObjectSet("market_hours_box_left2", OBJPROP_YDISTANCE, 222+Shift_Y);
ObjectSetText("market_hours_box_left2","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_left3") == -1 ){
ObjectCreate("market_hours_box_left3", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_left3", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_left3", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_left3", OBJPROP_XDISTANCE, 168+Shift_X);
ObjectSet("market_hours_box_left3", OBJPROP_YDISTANCE, 231+Shift_Y);
ObjectSetText("market_hours_box_left3","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_left4") == -1 ){
ObjectCreate("market_hours_box_left4", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_left4", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_left4", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_left4", OBJPROP_XDISTANCE, 168+Shift_X);
ObjectSet("market_hours_box_left4", OBJPROP_YDISTANCE, 240+Shift_Y);
ObjectSetText("market_hours_box_left4","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_left5") == -1 ){
ObjectCreate("market_hours_box_left5", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_left5", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_left5", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_left5", OBJPROP_XDISTANCE, 168+Shift_X);
ObjectSet("market_hours_box_left5", OBJPROP_YDISTANCE, 249+Shift_Y);
ObjectSetText("market_hours_box_left5","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_left6") == -1 ){
ObjectCreate("market_hours_box_left6", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_left6", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_left6", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_left6", OBJPROP_XDISTANCE, 168+Shift_X);
ObjectSet("market_hours_box_left6", OBJPROP_YDISTANCE, 258+Shift_Y);
ObjectSetText("market_hours_box_left6","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_left7") == -1 ){
ObjectCreate("market_hours_box_left7", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_left7", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_left7", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_left7", OBJPROP_XDISTANCE, 168+Shift_X);
ObjectSet("market_hours_box_left7", OBJPROP_YDISTANCE, 263+Shift_Y);
ObjectSetText("market_hours_box_left7","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_right") == -1 ){
ObjectCreate("market_hours_box_right", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_right", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_right", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_right", OBJPROP_XDISTANCE, 529+Shift_X);
ObjectSet("market_hours_box_right", OBJPROP_YDISTANCE, 213+Shift_Y);
ObjectSetText("market_hours_box_right","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_right2") == -1 ){
ObjectCreate("market_hours_box_right2", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_right2", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_right2", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_right2", OBJPROP_XDISTANCE, 529+Shift_X);
ObjectSet("market_hours_box_right2", OBJPROP_YDISTANCE, 222+Shift_Y);
ObjectSetText("market_hours_box_right2","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_right3") == -1 ){
ObjectCreate("market_hours_box_right3", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_right3", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_right3", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_right3", OBJPROP_XDISTANCE, 529+Shift_X);
ObjectSet("market_hours_box_right3", OBJPROP_YDISTANCE, 231+Shift_Y);
ObjectSetText("market_hours_box_right3","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_right4") == -1 ){
ObjectCreate("market_hours_box_right4", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_right4", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_right4", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_right4", OBJPROP_XDISTANCE, 529+Shift_X);
ObjectSet("market_hours_box_right4", OBJPROP_YDISTANCE, 240+Shift_Y);
ObjectSetText("market_hours_box_right4","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_right5") == -1 ){
ObjectCreate("market_hours_box_right5", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_right5", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_right5", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_right5", OBJPROP_XDISTANCE, 529+Shift_X);
ObjectSet("market_hours_box_right5", OBJPROP_YDISTANCE, 249+Shift_Y);
ObjectSetText("market_hours_box_right5","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_right6") == -1 ){
ObjectCreate("market_hours_box_right6", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_right6", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_right6", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_right6", OBJPROP_XDISTANCE, 529+Shift_X);
ObjectSet("market_hours_box_right6", OBJPROP_YDISTANCE, 258+Shift_Y);
ObjectSetText("market_hours_box_right6","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_right7") == -1 ){
ObjectCreate("market_hours_box_right7", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_right7", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_right7", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_right7", OBJPROP_XDISTANCE, 529+Shift_X);
ObjectSet("market_hours_box_right7", OBJPROP_YDISTANCE, 263+Shift_Y);
ObjectSetText("market_hours_box_right7","|", 8,"Times New Roman",Silver);

if (ObjectFind("market_hours_box_vert") == -1 ){
ObjectCreate("market_hours_box_vert", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_vert", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_vert", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_vert", OBJPROP_XDISTANCE, 514+Shift_X);
ObjectSet("market_hours_box_vert", OBJPROP_YDISTANCE, 213+Shift_Y);
ObjectSetText("market_hours_box_vert","|", 8,"Times New Roman",DarkGray);

if (ObjectFind("market_hours_box_vert2") == -1 ){
ObjectCreate("market_hours_box_vert2", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_vert2", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_vert2", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_vert2", OBJPROP_XDISTANCE, 514+Shift_X);
ObjectSet("market_hours_box_vert2", OBJPROP_YDISTANCE, 222+Shift_Y);
ObjectSetText("market_hours_box_vert2","|", 8,"Times New Roman",DarkGray);

if (ObjectFind("market_hours_box_vert3") == -1 ){
ObjectCreate("market_hours_box_vert3", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_vert3", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_vert3", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_vert3", OBJPROP_XDISTANCE, 514+Shift_X);
ObjectSet("market_hours_box_vert3", OBJPROP_YDISTANCE, 231+Shift_Y);
ObjectSetText("market_hours_box_vert3","|", 8,"Times New Roman",DarkGray);

if (ObjectFind("market_hours_box_vert4") == -1 ){
ObjectCreate("market_hours_box_vert4", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_vert4", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_vert4", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_vert4", OBJPROP_XDISTANCE, 514+Shift_X);
ObjectSet("market_hours_box_vert4", OBJPROP_YDISTANCE, 240+Shift_Y);
ObjectSetText("market_hours_box_vert4","|", 8,"Times New Roman",DarkGray);

if (ObjectFind("market_hours_box_vert5") == -1 ){
ObjectCreate("market_hours_box_vert5", OBJ_LABEL, companion, 0, 0);
ObjectSet("market_hours_box_vert5", OBJPROP_BACK, 0);
ObjectSet("market_hours_box_vert5", OBJPROP_CORNER, 0);}
ObjectSet("market_hours_box_vert5", OBJPROP_XDISTANCE, 514+Shift_X);
ObjectSet("market_hours_box_vert5", OBJPROP_YDISTANCE, 249+Shift_Y);
ObjectSetText("market        

Recommend