Выпущена бета-версия MetaTrader 4 Build 529 с новым компилятором - страница 60

 
stringo:
Как можно воспроизвести? (Мы не смогли)

Ничего особого не делал.

Запускаю тест, жду окончания, компилирую, чищу журнал, запускаю еще раз. В какой-то из разов падает.

 
komposter:

Ничего особого не делал.

Запускаю тест, жду окончания, компилирую, чищу журнал, запускаю еще раз. В какой-то из разов падает.


Скорей всего это от ихней пресловутой защиты кода, которую они никак не хотят сделать отключаемой, дабы каждый сам решал нужна она ему или нет.
 

I´ve just tested build 546 (20. November 2013) and my own EA in MQL4 compiles fine. However, I am getting heaps of errors when running a backtest for it, it uses the internal Bolinger Bands indicator of MT4, nothing more, but the journal is full of:


2013.11.20 22:15:26.624 Not enough memory for indicator Bollinger Bands (EURUSD,M5)
2013.11.20 22:15:26.624 Memory handler: cannot allocate 8754048 bytes of memory
2013.11.20 22:15:26.604 Not enough memory for indicator Bollinger Bands (EURUSD,M5)
2013.11.20 22:15:26.604 Memory handler: cannot allocate 8754048 bytes of memory
2013.11.20 22:15:26.107 Not enough memory for indicator Bollinger Bands (EURUSD,M5)
2013.11.20 22:15:26.107 Memory handler: cannot allocate 8754048 bytes of memory
2013.11.20 22:15:26.105 Not enough memory for indicator Bollinger Bands (EURUSD,M5)
2013.11.20 22:15:26.105 Memory handler: cannot allocate 8754048 bytes of memory
2013.11.20 22:15:25.903 Not enough memory for indicator Bollinger Bands (EURUSD,M5)
2013.11.20 22:15:25.903 Memory handler: cannot allocate 8754048 bytes of memory
2013.11.20 22:15:25.895 Not enough memory for indicator Bollinger Bands (EURUSD,M5)
2013.11.20 22:15:25.895 Memory handler: cannot allocate 8754048 bytes of memory
2013.11.20 22:15:25.811 Not enough memory for indicator Bollinger Bands (EURUSD,M5)
2013.11.20 22:15:25.811 Memory handler: cannot allocate 8754048 bytes of memory
2013.11.20 22:15:25.811 Not enough memory for indicator Bollinger Bands (EURUSD,M5)
2013.11.20 22:15:25.811 Memory handler: cannot allocate 8754048 bytes of memory
2013.11.20 22:15:25.811 Not enough memory for indicator Bollinger Bands (EURUSD,M5)
2013.11.20 22:15:25.811 Memory handler: cannot allocate 8754048 bytes of memory

It prints this all the time while running the backtest (open bar only from 1999 to 2013 on EURUSD). In the current official MT4 build, the backtest takes 6 seconds for the mentioned time range on 5M bar open and creates no errors. I am also wondering why it would not be able to allocate 8 megabyte of memory, the whole terminal process just takes 20 megabyte and I have about 7 gig of RAM free and as MT4 is a 32bit process, it can take up to 2 gig of memory. So allocating those 8mb shouldn´t be a problem and it´s surely a bug since in build 509 everything works fine.

Well sure, it´s a BETA, but this rather seems like a alpha if not even internal MT4 indicators work correctly in a backtest.

What I´ve also noticed, in general everything seems to be MUCH slower than in build 509. For example, running the Period_Converter_Auto script (which creates all timeframes from M1 data), takes about 3 minutes in Build 546, while it takes 20 seconds in build 509.
 
dabugen:

What I´ve also noticed, in general everything seems to be MUCH slower than in build 509. For example, running the Period_Converter_Auto script (which creates all timeframes from M1 data), takes about 3 minutes in Build 546, while it takes 20 seconds in build 509.

Remove from period_converter_auto source lines about FileFlush and script will be executed much more fast

         FileWriteInteger(ExtHandle, i_time, LONG_VALUE);
         FileWriteDouble(ExtHandle, d_open, DOUBLE_VALUE);
         FileWriteDouble(ExtHandle, d_low, DOUBLE_VALUE);
         FileWriteDouble(ExtHandle, d_high, DOUBLE_VALUE);
         FileWriteDouble(ExtHandle, d_close, DOUBLE_VALUE);
         FileWriteDouble(ExtHandle, d_volume, DOUBLE_VALUE);
         //FileFlush(ExtHandle);
 
stringo:

Remove from period_converter_auto source lines about FileFlush and script will be executed much more fast


Слава, а вот правда, давняя тема : чего Flush() такой медленный в mql5 ?

в старом mql4 гораздо быстрее, просто в разы. чёта нада делать...

 

На сайте 5-ки появились новые индикаторы и эксперты для мт4 (есть и бесплатные)

1) они не видны в марките через терминал (кроме 2-х продуктов);

2) на сайте 5-ки при выборе скачать продукт которого нет в марките терминала, пишет в том же терминале "MQL4 Marketproduct 'C' does not exist" (обрезает название продукта до 1-й буквы);

3) почему то индикатор МА вставили в категорию эксперты.

 
ALXIMIKS:

На сайте 5-ки появились новые индикаторы и эксперты для мт4 (есть и бесплатные)

1) они не видны в марките через терминал (кроме 2-х продуктов);

2) на сайте 5-ки при выборе скачать продукт которого нет в марките терминала, пишет в том же терминале "MQL4 Marketproduct 'C' does not exist" (обрезает название продукта до 1-й буквы);

3) почему то индикатор МА вставили в категорию эксперты.


Это тестовые продукты для внутреннего тестирования.

1. В терминале должны появиться в течение суток

2. Проверим.

3. Moving Average - тестовый эксперт, построенный на индикаторе MA. Описание поправим.

 
Попытка скачать в демо данный продукт с маркета и поставить на график не удалась: "2013.11.21 11:53:08.631 Market\macd_line_smart EURUSD,H1: Invalid license"...
 
evillive:
Попытка скачать в демо данный продукт с маркета и поставить на график не удалась: "2013.11.21 11:53:08.631 Market\macd_line_smart EURUSD,H1: Invalid license"...

Демо работает только в тестере, а на графике будет работать только версия которую вы купите .
 
От оно как, не знал.
OmegaTube:

Демо работает только в тестере, а на графике будет работать только версия которую вы купите .

Не, всё равно не работает, тестер в визуальном режиме - пустое окно индикатора, в списке индикаторов безымянное нечто без настроек параметров и опять в журнале терминала та же ошибка лицензии...
Причина обращения: