//+------------------------------------------------------------------+
//|                                            Strayman Chart BG.mq4 |
//|                      Copyright © 2011, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2011, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

#property indicator_chart_window

extern int BG_Count=19;
extern string _Prefix="R#";
extern int Corner=0;
extern color Color=C'10,10,10';


string BG[];

int init()
  {
    ArrayResize(BG,BG_Count); 
    int y=5,x=1;
    for (int i=0;i<=BG_Count;i++)
    {
      ObjectCreate(_Prefix+"BG-"+i,OBJ_LABEL,0,0,0,0,0,0);
      ObjectSetText(_Prefix+"BG-"+i,"gggggg",16,"Webdings",Color);
      ObjectSet(_Prefix+"BG-"+i,OBJPROP_CORNER,Corner);
      ObjectSet(_Prefix+"BG-"+i,OBJPROP_CORNER,Color);
      ObjectSet(_Prefix+"BG-"+i,OBJPROP_XDISTANCE,x);
      ObjectSet(_Prefix+"BG-"+i,OBJPROP_YDISTANCE,y);
      y=y+21;      
    }
  }
  
int deinit()
  {
    for (int i=0;i<=BG_Count;i++)
    {
      ObjectDelete(_Prefix+"BG-"+i);     
    }
  }
  
int start()
  {
   int    counted_bars=IndicatorCounted();
  }


