Errors, bugs, questions - page 2111
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
All within normal limits...
There was something similar once when an indicator was reading data from a file into an array, but I can't remember now...
Created an order waiting for
Terminal version and bit mode
64 1755
Problem description
Not unloading indicator,
I install indicator, indicator works, I remove indicator, indicator is removed and it is not in the list, but it works draws objects as if it has not been removed, it is not in the list.
I reopen the chart, it works even if the chart of another symbol.
A compile-time error
#define \ MACRO
In addition, it was expected that line feeds would work in ALL directivesCreated an order waiting for
Terminal version and bit mode
64 1755
Problem description
Not unloading indicator,
I install indicator, indicator works, I remove indicator, indicator is removed and it is not in the list, but it works draws objects as if it has not been removed, it is not in the list.
I reopen the chart, it works even if the chart of another instrument.
The same problem
Same problem
Recursion?
Same problem
IndicatorRelease();
Error during compilation
Attachment needs to be compiled
Where did I get such "spaces"? There are a lot of them here https://www.mql5.com/ru/docs/check/terminalinfointeger. I copied the fragment in Microsoft Edge with my mouse
Confusing macro highlighting - context-independent
either always present (option B) or always absent (option A)
It was expected that if a macro was defined in a particular string it would be highlighted, if it was not defined it would not be highlighted. Otherwise it is not clear what presence/absence of highlighting meansHighlighting C2C++ files in MetaEditor
https://www.mql5.com/ru/docs/basis/preprosessor/constant
These macros (and also __MQL__) are not expected to be available when highlighting files with .c, cpp, .h extensions
This is a case (like the previous one) where incorrect, misleading highlighting is much worse than the lack of it
I've repeatedly encountered discussion on the forum of users about MetaEditor's lack of a predefined macro similar to _WIN64. The administration's answer was that there is no need because MetaEditor generates universal 32-64-bit code at the same time.
At the same time, many people use the https://www.mql5.com/ru/forum/225498/page2#comment_6401835 alignment by appending the fields to the structure
And indeed, if you use a ready-made .dll (which cannot be changed anymore), you cannot do without additional alignment. But in x86 and x64 this addition may look different, which means that the _WIN64 analog is still needed because the structure is defined at the stage of compiling .mq5 file where TerminalInfoInteger( TERMINAL_X64 ) does not work
Now we have to keep extra information in mind. As a result of saving on a trifle, there is a risk of getting an elusive error