//+------------------------------------------------------------------+
//|                                            Draw BAR_HILOZONE.mq4 |
//|                                                                  |
//|                                                                  |
//+------------------------------------------------------------------+
#property copyright ""
#property link      ""
#include <WinUser32.mqh>
//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
int start()
  {
//----
//****CHANGE COLORS HERE****
color Label_Color = Snow;
//****DON'T TOUCH BELOW HERE****
datetime time=WindowTimeOnDropped();

int time_shift=iBarShift(Symbol(),0,time,true);

MessageBox("Candle Index: "+time_shift,0,MB_OK);

//----
   return(0);
  }
//+------------------------------------------------------------------+