- Новая версия платформы MetaTrader 5 build 1595: доступ к ценовой истории
- Обсуждение статьи "Основы тестирования в MetaTrader 5"
- Пропали ядра после обновления тестера.
После обновления терминала MT5 до build 1595 25 Apr 2017, оптимизатор не работает. После запуска оптимизации процессор загружается, агенты на все ядра стартуют, но проценты не идут. По нажатии Стоп и закрытии терминала остаются работающие агенты задачи тестера, грузящие процессор.
Проверяли на советнике из поставки \MQL5\Experts\Examples\MACD\MACD Sample.mq5?
Проверяли на советнике из поставки \MQL5\Experts\Examples\MACD\MACD Sample.mq5?
Нет, на своем. В одиночном тестировании он проходит два дня истории и зависает. Пробовал перекомпилировать в новом билде - ничего не поменялось.
Никогда с таким не сталкивался. Очевидно косяк в новом билде.
Попробовал \MQL5\Experts\Examples\MACD\MACD Sample.mq5. То же самое зависание:
2017.04.26 17:37:39.528 Tester NZDUSD.m: history data begins from 1998.04.27 00:00 2017.04.26 17:37:39.667 Tester NZDUSD.m: preliminary downloading of history ticks started, it may take quite a long time 2017.04.26 17:37:40.667 Tester NZDUSD.m: preliminary downloading of history ticks completed, 43.90 Kb in 0:01.141 (38.48 Kb/sec) 2017.04.26 17:37:40.667 Tester NZDUSD.m: ticks data begins from 2015.01.02 00:00 2017.04.26 17:37:40.669 Core 1 agent process started 2017.04.26 17:37:41.177 Core 1 connecting to 127.0.0.1:3008 2017.04.26 17:37:43.557 Core 1 connected 2017.04.26 17:37:43.561 Core 1 authorized (agent build 1595) 2017.04.26 17:37:43.563 Tester NZDUSD.m,M1 (RoboForex-MetaTrader 5): testing of Experts\Examples\MACD\MACD Sample.ex5 from 2016.04.26 00:00 to 2017.04.26 00:00 2017.04.26 17:37:43.569 Core 1 common synchronization completed 2017.04.26 17:37:43.614 Core 1 NZDUSD.m: ticks synchronized already [47 bytes] 2017.04.26 17:37:49.717 Core 1 1482 bytes of tester parameters loaded 2017.04.26 17:37:49.718 Core 1 3260 bytes of input parameters loaded 2017.04.26 17:37:49.718 Core 1 1066 bytes of symbols list loaded 2017.04.26 17:37:49.718 Core 1 expert file added: Experts\Examples\MACD\MACD Sample.ex5. 64505 bytes loaded 2017.04.26 17:37:49.718 Core 1 initial deposit 10000.00 USD, leverage 1:500 2017.04.26 17:37:49.718 Core 1 successfully initialized 2017.04.26 17:37:49.718 Core 1 94 Kb of total initialization data received 2017.04.26 17:37:49.718 Core 1 Intel Core i7 950 @ 3.07GHz, 12286 MB 2017.04.26 17:37:49.718 Core 1 NZDUSD.m: symbol to be synchronized 2017.04.26 17:37:49.718 Core 1 NZDUSD.m: symbol synchronized, 3464 bytes of symbol info received 2017.04.26 17:37:49.718 Core 1 NZDUSD.m: load 31 bytes of history data to synchronize in 0:00:00.000 2017.04.26 17:37:49.718 Core 1 NZDUSD.m: history synchronized from 2013.01.02 to 2017.04.25 2017.04.26 17:37:49.718 Core 1 NZDUSD.m: ticks synchronization started 2017.04.26 17:37:49.718 Core 1 NZDUSD.m: load 38 bytes of tick data to synchronize in 0:00:00.000 2017.04.26 17:37:49.718 Core 1 NZDUSD.m: history ticks synchronized from 2015.01.02 to 2017.04.25 2017.04.26 17:37:49.718 Core 1 NZDUSD.m,M1: history cache allocated for 870171 bars and contains 480383 bars from 2015.01.02 08:00 to 2016.04.25 23:58 2017.04.26 17:37:49.718 Core 1 NZDUSD.m,M1: history begins from 2015.01.02 08:00 2017.04.26 17:37:49.718 Core 1 NZDUSD.m,M1 (RoboForex-MetaTrader 5): generating based on real ticks 2017.04.26 17:37:49.718 Core 1 NZDUSD.m,M1: testing of Experts\Examples\MACD\MACD Sample.ex5 from 2016.04.26 00:00 to 2017.04.26 00:00 started with inputs: 2017.04.26 17:37:49.718 Core 1 InpLots=0.1 2017.04.26 17:37:49.718 Core 1 InpTakeProfit=50 2017.04.26 17:37:49.718 Core 1 InpTrailingStop=30 2017.04.26 17:37:49.718 Core 1 InpMACDOpenLevel=3 2017.04.26 17:37:49.718 Core 1 InpMACDCloseLevel=2 2017.04.26 17:37:49.718 Core 1 InpMATrendPeriod=26 2017.04.26 17:37:49.718 Core 1 NZDUSD.m : 2016.06.13 23:59 - real ticks absent for 8 minutes out of 1430 total minute bars within a day 2017.04.26 17:37:49.718 Core 1 NZDUSD.m : 2016.06.28 23:59 - real ticks absent for 66 minutes out of 1436 total minute bars within a day 2017.04.26 17:37:49.718 Core 1 NZDUSD.m : real ticks begin from 2015.01.02 00:00:00 2017.04.26 17:37:49.718 Core 1 NZDUSD.m : 2016.04.26 00:00 - 2017.04.26 00:00 real ticks absent for 74 minutes of 372802 total minute bars, every tick generation used 2017.04.26 17:37:49.718 Core 1 2016.04.27 21:06:05 market buy 0.10 NZDUSD.m tp: 0.69086 (0.68586 / 0.68609) 2017.04.26 17:37:49.718 Core 1 2016.04.27 21:06:05 deal #2 buy 0.10 NZDUSD.m at 0.68609 done (based on order #2) 2017.04.26 17:37:49.718 Core 1 2016.04.27 21:06:05 deal performed [#2 buy 0.10 NZDUSD.m at 0.68609] 2017.04.26 17:37:49.718 Core 1 2016.04.27 21:06:05 order performed buy 0.10 at 0.68609 [#2 buy 0.10 NZDUSD.m at 0.68609] 2017.04.26 17:37:49.718 Core 1 2016.04.27 21:06:05 CTrade::OrderSend: market buy 0.10 NZDUSD.m tp: 0.69086 [done at 0.68609] 2017.04.26 17:37:49.718 Core 1 2016.04.27 21:06:05 Position by NZDUSD.m to be opened 2017.04.26 17:37:49.718 Core 1 2016.04.27 23:41:00 market sell 0.10 NZDUSD.m (0.68508 / 0.68530) 2017.04.26 17:37:49.718 Core 1 2016.04.27 23:41:00 deal #3 sell 0.10 NZDUSD.m at 0.68508 done (based on order #3) 2017.04.26 17:37:49.718 Core 1 2016.04.27 23:41:00 deal performed [#3 sell 0.10 NZDUSD.m at 0.68508] 2017.04.26 17:37:49.718 Core 1 2016.04.27 23:41:00 order performed sell 0.10 at 0.68508 [#3 sell 0.10 NZDUSD.m at 0.68508] 2017.04.26 17:37:49.718 Core 1 2016.04.27 23:41:00 CTrade::OrderSend: market sell 0.10 NZDUSD.m [done at 0.68508] 2017.04.26 17:37:49.718 Core 1 2016.04.27 23:41:00 Long position by NZDUSD.m to be closedАналогично что на реальных тиках, что на ценах открытия.
Aleksey Pak 2017.04.26 12:26 #6 Maksim Emeliashin: New release 1595 has a serious bug in the function HistorySelect (I'm already post it in service desk). Here is the sample of Expert that freeze when the date changed from one day to another. Just start it in the tester in any pair since 2016.01.01 on OHLC M1 and any timeframe. When the day changed - tester freezed permanently. I have a bad feeling that it has same problem on the real trade account's Experts that using HistorySelect. Code: Sorry for inconvenience. This issue is fixed. Please wait a new build soon.
https://www.mql5.com/en/forum/190398#comment_4943385
в общем-то вроде должен быть стабильный релиз,а проблем с ним больше,Чем с бетами. сплошная попаболь
- www.mql5.com
Я для доступа к позициям использую Trade/PositionInfo.mqh.
HistorySelect не использую и в MACD Sample.mq5 она тоже не используется.
Обновитесь до 1596 билда с сервера MetaQuotes-Demo, пожалуйста.
Эти ошибки уже исправлены.
Обновитесь до 1596 билда с сервера MetaQuotes-Demo, пожалуйста.
Эти ошибки уже исправлены.
Да. На 1596 заработало.
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Вы принимаете политику сайта и условия использования