Navigation:Home > Content >

Kruglie_4isla.mq4

Time: 2016-08-02 | Download file:Kruglie_4isla.mq4

//+------------------------------------------------------------------+
//|                                         Уровни круглых чисел.mq4 |
//|                                                   Samura
//|                                  http://budobudda.wordpress.com/ |
//+------------------------------------------------------------------+
#property copyright "Samura"
#property link      "http://budobudda.wordpress.com/"

#property indicator_chart_window
//---- input parameters
extern color     Krug_4isla = Black;
extern int       Shirina = 2;
extern double    begin   = 0.7;
extern int       Koli4estvo = 10;
extern double    Shag    = 0.1;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   ObjectsDeleteAll();
   // удаляем все объекты
   
   return(0);


//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int    counted_bars=IndicatorCounted();
//----

   double kolvo = Koli4estvo*Shag;

   for(double i =0; i        

Recommend