Errors, bugs, questions - page 876

 
When you change the parameters of an installed EA, should the global variables(for the program) not be re-initialised?
Документация по MQL5: Основы языка / Переменные / Глобальные переменные
Документация по MQL5: Основы языка / Переменные / Глобальные переменные
  • www.mql5.com
Основы языка / Переменные / Глобальные переменные - Документация по MQL5
 
Application #592810 - will silver show the value per tick?
 
x100intraday:
"2012.11.16 13:17:42 MemoryException 800000012 bytes not available. Build 712, XP SP2 x32.

The terminal was unable to allocate memory (someone requested more than 750 MB in one chunk).

Either it ran out (for 32 bit axis maximum 3 GB available) or it is fragmented.

Either way without details your post is nothing.

 

When will the Gunn fan be finished?

The problem is the same as with the trend lines.

And scrolling chart with mouse at fixed scale in n/a.

And bug: fast chart scrolling with up/down arrows doesn't work.

 
void OnTimer()
{
        MqlDateTime timeA;
        MqlDateTime timeB;
        timeB = timeA; // нормально

        MqlTradeResult resultA;
        MqlTradeResult resultB;
        resultB = resultA; // ошибка: structure have objects and cannot be copied
}

Question: Does the MqlTradeResult structure have some special status?

 
A100:

Question: Does the MqlTradeResult structure have some special status?

From the documentation:

Simple structures

Structures that do not contain strings, class objects and dynamic array objects are called simple structures; variables of such structures may freely copy into each other, even if they are different structures. Variables of simple structures, as well as their arrays, can be passed as parameters to functions imported from DLL.

 
Yurich:

From the documentation:

Thanks, got it - contains string

I was misled by the phrase structures of simple types from Overloading operations, you could have written - simple structures

 

Discovered this behaviour:

ArrayResize(a, 100, 5);
ArrayResize(a, 100, 500); // здесь новый резерв не установится и останется 5.

Is it supposed to be like this or a bug? I would like to hear from the developers.

 

Colleagues,

is it possible to know from the EA that testing is running in visual mode?

 
TheXpert:

Is this supposed to be like this or a bug? I would like to hear from the developers.

Judging by the description, it's a bug... Oh well, it's not critical.