Просьба запустить на реале на BR-11.20 - страница 6

 
Anton:

Можно увидеть более полный лог?

Запустил тестовый индикатор прямо сейчас:

2020.09.28 10:59:25.292   testOpenBroker (GOLD-12.20,M1)   Не получены времена серии
2020.09.28 10:59:29.428   testOpenBroker (GOLD-12.20,M1)   Start time = 2020.07.01 19:05:00
2020.09.28 10:59:29.429   testOpenBroker (GOLD-12.20,M1)   End time = 2020.11.02 18:45:00
2020.09.28 10:59:29.429   testOpenBroker (GOLD-12.20,M1)   Time now = 2020.09.28 10:59:29
2020.09.28 10:59:29.429   testOpenBroker (GOLD-12.20,M1)   Bars last time = 2020.09.28 00:00:00
2020.09.28 10:59:29.429   testOpenBroker (GOLD-12.20,M1)   Last tick time = 2020.09.28 10:59:29
2020.09.28 10:59:29.451   testOpenBroker (GOLD-12.20,M1)   Проснулись! :)


На золоте нормально (нет четкой зависимости когда не работает) а на нефти как:

2020.09.28 11:31:06.236 Test_ind_3 (GOLD-12.20,M1)      Не получены времена серии
2020.09.28 11:31:06.550 Test_ind_3 (GOLD-12.20,M1)      Start time = 2020.07.01 19:05:00
2020.09.28 11:31:06.550 Test_ind_3 (GOLD-12.20,M1)      End time = 2020.11.02 18:45:00
2020.09.28 11:31:06.550 Test_ind_3 (GOLD-12.20,M1)      Time now = 2020.09.28 11:31:06
2020.09.28 11:31:06.550 Test_ind_3 (GOLD-12.20,M1)      Bars last time = 2020.09.28 00:00:00
2020.09.28 11:31:06.550 Test_ind_3 (GOLD-12.20,M1)      Last tick time = 2020.09.25 23:35:03
2020.09.28 11:31:06.550 Test_ind_3 (GOLD-12.20,M1)      Не хватает тиков!
2020.09.28 11:31:07.050 Test_ind_3 (GOLD-12.20,M1)      Start time = 2020.07.01 19:05:00
2020.09.28 11:31:07.050 Test_ind_3 (GOLD-12.20,M1)      End time = 2020.11.02 18:45:00
2020.09.28 11:31:07.050 Test_ind_3 (GOLD-12.20,M1)      Time now = 2020.09.28 11:31:07
2020.09.28 11:31:07.050 Test_ind_3 (GOLD-12.20,M1)      Bars last time = 2020.09.28 00:00:00
2020.09.28 11:31:07.050 Test_ind_3 (GOLD-12.20,M1)      Last tick time = 2020.09.28 11:31:05
2020.09.28 11:31:07.061 Test_ind_3 (GOLD-12.20,M1)      Проснулись! :)
2020.09.28 11:31:41.168 Test_ind_3 (BR-12.20,M1)        Не получены времена серии
2020.09.28 11:31:52.331 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:31:52.331 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:31:52.331 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:31:52
2020.09.28 11:31:52.331 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:31:52.331 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.09.25 23:19:09
2020.09.28 11:31:52.331 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:31:52.348 Test_ind_3 (BR-12.20,M1)        Не получены времена серии
2020.09.28 11:31:53.936 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:31:53.936 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:31:53.936 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:31:53
2020.09.28 11:31:53.936 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:31:53.936 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:31:53.936 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:31:56.672 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:31:56.672 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:31:56.672 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:31:56
2020.09.28 11:31:56.672 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:31:56.672 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:31:56.672 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:31:56.903 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:31:56.903 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:31:56.903 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:31:56
2020.09.28 11:31:56.903 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:31:56.903 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:31:56.903 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:31:57.005 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:31:57.005 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:31:57.005 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:31:57
2020.09.28 11:31:57.005 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:31:57.005 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:31:57.005 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!





Продолжает далее пытаться получить тики....

2020.09.28 11:36:05.905 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:36:05.905 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:36:05.905 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:36:05
2020.09.28 11:36:05.905 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:36:05.905 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:36:05.905 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!

На всякий случай мой код

//+------------------------------------------------------------------+
//|                                                   Test_ind_3.mq5 |
//|                                      Copyright 2018 prostotrader |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2018 prostotrader"
#property link      "https://www.mql5.com"
#property version   "1.00"
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_plots   1
//--- plot Label1
#property indicator_label1  "Test_3"
#property indicator_type1   DRAW_LINE
#property indicator_color1  clrLime
#property indicator_style1  STYLE_SOLID
#property indicator_width1  1
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
bool InitData()
  {
   MqlTick pr_ticks[];
   datetime time_arr[];
   int cnt = 0;
   int result = 0;
   int bars_cnt = 0;
   datetime start_time = D'2020.07.01 19:05:00';
   datetime end_time = D'2020.11.02 18:45:00';
   while((result <= 0) && (cnt < 100))
     {
      result = CopyTime(Symbol(), PERIOD_D1, start_time, end_time, time_arr);
      cnt++;
     }
   if(result > 0)
     {
      bars_cnt = result;
      result = 0;
      cnt = 0;
      while((result <= 0) && (cnt < 100))
        {
         result = CopyTicksRange(Symbol(), pr_ticks, COPY_TICKS_INFO, ulong(start_time) * 1000, ulong(end_time) * 1000);
         cnt++;
        }
      if(result > 0)
        {
         Print("Start time = ", start_time);
         Print("End time = ", end_time);
         Print("Time now = ", TimeTradeServer());
         Print("Bars last time = ", time_arr[bars_cnt - 1]);
         Print("Last tick time = ", pr_ticks[result-1].time);
         if(time_arr[bars_cnt - 1] != (pr_ticks[result-1].time/86400)*86400)
         {
           // return(false);
           Print("Не хватает тиков!");
           return(false);
         }    
        }
     }
     else
     {
        Print("Не получены времена серии");
        return(false);
     }   
   return(true);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,const int prev_calculated,const int begin,const double &price[])
  {
   if(prev_calculated == 0)
   {
     if(InitData() == false) return(0);
     Print("Проснулись! :)");
   }     
   return(rates_total);
  }
//+------------------------------------------------------------------+
 
prostotrader:

На золоте нормально а на нефти как:

Продолжает далее получать тики....

2020.09.28 11:38:11.622    testOpenBroker (BR-12.20,M1)    Не получены времена серии
2020.09.28 11:38:15.752    testOpenBroker (BR-12.20,M1)    Start time = 2020.07.01 19:05:00
2020.09.28 11:38:15.753    testOpenBroker (BR-12.20,M1)    End time = 2020.11.02 18:45:00
2020.09.28 11:38:15.753    testOpenBroker (BR-12.20,M1)    Time now = 2020.09.28 11:38:15
2020.09.28 11:38:15.753    testOpenBroker (BR-12.20,M1)    Bars last time = 2020.09.28 00:00:00
2020.09.28 11:38:15.753    testOpenBroker (BR-12.20,M1)    Last tick time = 2020.09.28 11:38:14
2020.09.28 11:38:15.756    testOpenBroker (BR-12.20,M1)    Проснулись! :)


В логах терминала есть ошибки?

И приложите код индикатора.

 
Anton:
2020.09.28 11:38:11.622    testOpenBroker (BR-12.20,M1)    Не получены времена серии
2020.09.28 11:38:15.752    testOpenBroker (BR-12.20,M1)    Start time = 2020.07.01 19:05:00
2020.09.28 11:38:15.753    testOpenBroker (BR-12.20,M1)    End time = 2020.11.02 18:45:00
2020.09.28 11:38:15.753    testOpenBroker (BR-12.20,M1)    Time now = 2020.09.28 11:38:15
2020.09.28 11:38:15.753    testOpenBroker (BR-12.20,M1)    Bars last time = 2020.09.28 00:00:00
2020.09.28 11:38:15.753    testOpenBroker (BR-12.20,M1)    Last tick time = 2020.09.28 11:38:14
2020.09.28 11:38:15.756    testOpenBroker (BR-12.20,M1)    Проснулись! :)


В логах терминала есть ошибки?

И приложите код индикатора.

Есть (код выше)

2020.09.28 11:31:52.313 Ticks   'BR-12.20' file open or reading error [The process cannot access the file because it is being used by another process. (32)]
2020.09.28 11:31:52.314 Ticks   'BR-12.20' file open or reading error [The process cannot access the file because it is being used by another process. (32)]
2020.09.28 11:31:52.314 Ticks   BR-12.20: update container failed

Убрал циклы (скорее всего ошибка была из-за них)

//+------------------------------------------------------------------+
//|                                                   Test_ind_3.mq5 |
//|                                      Copyright 2018 prostotrader |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2018 prostotrader"
#property link      "https://www.mql5.com"
#property version   "1.00"
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_plots   1
//--- plot Label1
#property indicator_label1  "Test_3"
#property indicator_type1   DRAW_LINE
#property indicator_color1  clrLime
#property indicator_style1  STYLE_SOLID
#property indicator_width1  1
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
bool InitData()
  {
   MqlTick pr_ticks[];
   datetime time_arr[];
   int result = 0;
   int bars_cnt = 0;
   datetime start_time = D'2020.07.01 19:05:00';
   datetime end_time = D'2020.11.02 18:45:00';
   result = CopyTime(Symbol(), PERIOD_D1, start_time, end_time, time_arr);
   if(result > 0)
     {
      bars_cnt = result;
      result = 0;
      result = CopyTicksRange(Symbol(), pr_ticks, COPY_TICKS_INFO, ulong(start_time) * 1000, ulong(end_time) * 1000);
      if(result > 0)
        {
         Print("Start time = ", start_time);
         Print("End time = ", end_time);
         Print("Time now = ", TimeTradeServer());
         Print("Bars last time = ", time_arr[bars_cnt - 1]);
         Print("Last tick time = ", pr_ticks[result-1].time);
         if(time_arr[bars_cnt - 1] != (pr_ticks[result-1].time/86400)*86400)
         {
           // return(false);
           Print("Не хватает тиков!");
           return(false);
         }    
        }
     }
     else
     {
        Print("Не получены времена серии");
        return(false);
     }   
   return(true);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,const int prev_calculated,const int begin,const double &price[])
  {
   if(prev_calculated == 0)
   {
     if(InitData() == false) return(0);
     Print("Проснулись! :)");
   }     
   return(rates_total);
  }
//+------------------------------------------------------------------+
 

Ошибок нет

2020.09.28 11:44:47.646 Indicators      custom indicator Test_ind_3 (BR-12.20,M1) loaded succesfully

,

впрочем как и тиков

2020.09.28 11:44:47.681 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:44:47.681 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:44:47.681 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:44:47
2020.09.28 11:44:47.681 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:44:47.681 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:44:47.681 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:44:48.421 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:44:48.421 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:44:48.421 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:44:48
2020.09.28 11:44:48.421 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:44:48.421 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:44:48.421 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:44:53.585 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:44:53.585 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:44:53.585 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:44:53
2020.09.28 11:44:53.585 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:44:53.585 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:44:53.585 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:00.656 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:00.656 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:00.656 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:00
2020.09.28 11:45:00.656 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:00.656 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:00.656 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:00.769 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:00.769 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:00.769 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:00
2020.09.28 11:45:00.769 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:00.769 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:00.769 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:01.159 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:01.159 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:01.159 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:01
2020.09.28 11:45:01.159 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:01.159 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:01.159 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:02.177 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:02.177 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:02.177 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:02
2020.09.28 11:45:02.177 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:02.177 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:02.177 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:02.985 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:02.985 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:02.985 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:02
2020.09.28 11:45:02.985 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:02.985 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:02.985 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:05.015 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:05.015 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:05.015 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:05
2020.09.28 11:45:05.015 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:05.015 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:05.015 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:16.345 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:16.345 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:16.345 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:16
2020.09.28 11:45:16.345 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:16.345 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:16.345 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:21.608 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:21.608 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:21.608 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:21
2020.09.28 11:45:21.608 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:21.608 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:21.608 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:22.805 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:22.805 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:22.805 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:22
2020.09.28 11:45:22.805 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:22.805 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:22.805 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:26.117 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:26.117 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:26.117 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:26
2020.09.28 11:45:26.117 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:26.117 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:26.117 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:26.698 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:26.698 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:26.698 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:26
2020.09.28 11:45:26.698 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:26.698 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:26.698 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:45:55.523 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:45:55.523 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:45:55.523 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:45:55
2020.09.28 11:45:55.523 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:45:55.523 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:45:55.523 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
2020.09.28 11:48:27.626 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:48:27.626 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:48:27.626 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:48:27
2020.09.28 11:48:27.626 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:48:27.626 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.08.31 23:50:02
2020.09.28 11:48:27.626 Test_ind_3 (BR-12.20,M1)        Не хватает тиков!
 

Перегрузил терминал...

2020.09.28 11:52:39.179 Test_ind_3 (BR-12.20,M1)        Не получены времена серии
2020.09.28 11:52:47.572 Test_ind_3 (BR-12.20,M1)        Start time = 2020.07.01 19:05:00
2020.09.28 11:52:47.572 Test_ind_3 (BR-12.20,M1)        End time = 2020.11.02 18:45:00
2020.09.28 11:52:47.572 Test_ind_3 (BR-12.20,M1)        Time now = 2020.09.28 11:52:47
2020.09.28 11:52:47.572 Test_ind_3 (BR-12.20,M1)        Bars last time = 2020.09.28 00:00:00
2020.09.28 11:52:47.572 Test_ind_3 (BR-12.20,M1)        Last tick time = 2020.09.28 11:52:46
2020.09.28 11:52:47.575 Test_ind_3 (BR-12.20,M1)        Проснулись! :)
 
prostotrader:

Перегрузил терминал...

Какая версия терминала используется?

Код без циклов тут: https://www.mql5.com/ru/forum/351487/page4#comment_18409748

Просьба запустить на реале на BR-11.20
Просьба запустить на реале на BR-11.20
  • 2020.09.22
  • www.mql5.com
Пишу индикатор с использованием функции CopyTicksRange(); Получаю кастрированные данные https://www.mql5...
 
Anton:

Какая версия терминала используется?

Код без циклов тут: https://www.mql5.com/ru/forum/351487/page4#comment_18409748

Давно без циклов тестирую.

Билд 2615

 
prostotrader:

Давно без циклов тестирую.

Билд 2615

Мне проверить тики? Я на реальном Открытие.

 
ascerdfg:

Мне проверить тики? Я на реальном Открытие.

Спасибо, не нужно

Причина обращения: