//+------------------------------------------------------------------+
//|                                                         Hide.mq4 |
//|                                                           GumRai |
//|                                                                  |
//+------------------------------------------------------------------+
#property copyright "GumRai"
#property link      ""
#property version   "1.00"
#property strict
#property script_show_inputs
//--- input parameters
input int      x=0;//X co-ordinate
input int      y=15;//Y co-ordinate
input int      width=200;//Width in pixels
input int      height=400;//Height in pixels
input color    back_clr=clrWhite;//Background Colour

string Name="RLHide";
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {
   ObjectCreate(0,Name,OBJ_RECTANGLE_LABEL,0,0,0);
   ObjectSetInteger(0,Name,OBJPROP_XDISTANCE,x);
   ObjectSetInteger(0,Name,OBJPROP_YDISTANCE,y);
   ObjectSetInteger(0,Name,OBJPROP_XSIZE,width);
   ObjectSetInteger(0,Name,OBJPROP_YSIZE,height);
   ObjectSetInteger(0,Name,OBJPROP_BGCOLOR,back_clr);
   ObjectSetInteger(0,Name,OBJPROP_BACK,false);
   ObjectSetInteger(0,Name,OBJPROP_CORNER,0);
   ObjectSetInteger(0,Name,OBJPROP_BORDER_TYPE,BORDER_FLAT);
   ObjectSetInteger(0,Name,OBJPROP_COLOR,back_clr);
   ObjectSetInteger(0,Name,OBJPROP_HIDDEN,false);

  }
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
