Errors, bugs, questions - page 1922
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Compilation error.
And withouttemplate<typename T> it's fine... what's the difference?Compilation error
And withouttemplate<typename T> - ok... what's the difference?It's the extra brackets in the macro.
If you remove them, it will compile.
It's the extra brackets in the macro.
If you remove them, it will compile.
The .log files %AppData%\MetaQuotes\Terminal\...\MQL5\Logs\YYYYMMDD.log are not updated promptly
The update only happens: after restarting the terminal or after selecting View menu. If you don't restart or click Preview, the corresponding file will be empty.
It used to work well (even the YYYYYMMDD.log file opened in MetaEditor was automatically updated in a few seconds after displaying rows in Experts tab) and no extra non-obvious actions had to be performed
IMHO, it's always been like that if log size is small (there was info somewhere on forum about size, at which cache dumping starts). I always had to invoke the context menu to initialise the flush to disk.
IMHO, this has always been the case if the log size is small (there was info somewhere on the forum about the size at which the cache reset starts). I always had to call the context menu to initialise the flush to disk.
I don't quite understand the point of your IMHO. Take build <= 1596 (32bit) and check (outputs to .log file immediately [5-10 seconds] even one line). I checked it a minute ago.
[which cache? which always? there was something about something somewhere!?!]
it's about the Experts tab and MQL5\Logs\ folder
If you remove template<typename T> it will compile too (even with parentheses)
Well, it's a phrase from the "if you remove everything, it will compile" category.
I was speaking about the causes of the error exactly with template. The reason is incorrect compiler's behavior when parsing a template construct in the situation with additional parentheses. Anyone who has implemented the templates can immediately see where the problem is and why it occurs.
Hi guys, I have a task to display two indicators iMACD_1 colour, signal line and iMACD_2 in a separate window, here is part of the code:
I have made indexing
Got pointers to indicators
(And then wonders)))
Theoretically it should work to display indicators
It doesn't work!
But it works like this
It works, I can not figure out what is the problem with the numbers of indicator buffers. Thanks in advance !!!
Compile error.
And withouttemplate<typename T> - fine
Hi guys, I have a task to display two indicators iMACD_1 colour, signal line and iMACD_2 in a separate window, here is part of the code:
I have made indexing
Got pointers to indicators
(And then wonders)))
Theoretically it should work to display indicators
It doesn't work!
But it works like this
It works, I can not figure out what is the problem with the numbers of indicator buffers. Thanks in advance !!!
Please next time remember how toinsert the code in the post(your post I corrected).
Second: the iMACD indicator has only two buffers: "0" - MAIN_LINE, "1" - SIGNAL_LINE. So, to get indicator values will look like this:
Compile error.
And withouttemplate<typename T> - fine