Нда, «букварь» по сову нужен. Текстовый
сделаю, обращайтесь в стол заказов
 
  
 
					        										 
  
  
 
//+------------------------------------------------------------------+
//|                                                       Rabota.mq4 |
//|                                              Copyright 2018, AM2 |
//|                                      http://www.forexsystems.biz |
//+------------------------------------------------------------------+
#property copyright "Copyright 2018, AM2"
#property link      "http://www.forexsystems.biz"
#property version   "1.00"
#property strict
#property indicator_chart_window
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int OnInit()
  {
//--- indicator buffers mapping
   EventSetTimer(5);
   PutRectLabel();
   PutLabel();
//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
void PutRectLabel()
  {
   ObjectCreate(0,"R",OBJ_RECTANGLE_LABEL,0,0,0);
//--- установим координаты метки
   ObjectSetInteger(0,"R",OBJPROP_XDISTANCE,5);
   ObjectSetInteger(0,"R",OBJPROP_YDISTANCE,22);
//--- установим размеры метки
   ObjectSetInteger(0,"R",OBJPROP_XSIZE,255);
   ObjectSetInteger(0,"R",OBJPROP_YSIZE,55);
//--- установим цвет фона
   ObjectSetInteger(0,"R",OBJPROP_BGCOLOR,Blue);
//--- установим тип границы
   ObjectSetInteger(0,"R",OBJPROP_BORDER_TYPE,BORDER_RAISED);
//--- установим угол графика, относительно которого будут определяться координаты точки
   ObjectSetInteger(0,"R",OBJPROP_CORNER,0);
  }
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
void PutLabel()
  {
//--- создадим текстовую метку
   ObjectCreate(0,"L",OBJ_LABEL,0,0,0);
//--- установим координаты метки
   ObjectSetInteger(0,"L",OBJPROP_XDISTANCE,22);
   ObjectSetInteger(0,"L",OBJPROP_YDISTANCE,29);
//--- установим угол графика, относительно которого будут определяться координаты точки
   ObjectSetInteger(0,"L",OBJPROP_CORNER,0);
//--- установим текст
   ObjectSetString(0,"L",OBJPROP_TEXT,"OPENTRADERS");
//--- установим шрифт текста
   ObjectSetString(0,"L",OBJPROP_FONT,"Verdana");
//--- установим размер шрифта
   ObjectSetInteger(0,"L",OBJPROP_FONTSIZE,22);
//--- установим цвет
   ObjectSetInteger(0,"L",OBJPROP_COLOR,Red);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
//---
   ObjectSetInteger(0,"L",OBJPROP_COLOR,Red);
//--- return value of prev_calculated for next call
   return(rates_total);
  }
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
void OnTimer()
  {
   ObjectSetInteger(0,"L",OBJPROP_COLOR,White);
  }
//+------------------------------------------------------------------+
 
 
					        										
AM2