Errors, bugs, questions - page 2132
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
When the author is a part-time moderator.
Rather, a moderator and part-time coder.
Is it right for the author of EAs at KB to remove third-party comments in the relevant discussion that point out errors in his code?
no of course.
Is it right for the author of EAs at KB to delete third-party comments in the relevant discussion that point out errors in his code?
I don't get it, what was the point of doing it the other way around in MQL?
I don't get it, what was the point of doing it the other way around in MQL?
MQL5 is all unicode, so we have completely abandoned single-byte strings.
I don't believe that completely! Everything works.
Result: Ansi is alive!
I don't believe that completely! Everything works.
Result: Ansi is alive!
Packing binary to unicode and then getting the risk of exploding on a call via a system function is unwise.
Will probably filter out such attempts later.
It's unreasonable to get the risk of exploding on a system function call.
Do not exaggerate because string is guaranteed to end with zero. And besides, single-byte characters along with multibyte ones are actually part of Unicode and in MQL it all works fine, which makes it possible to output in Experts tab with normal (and not that awful monospaced) font, for example.
This is like to prohibit call from dll function with argument uchar[], fearing that the user will fill it incorrectly (for example, will not end with zero), while many system functions require exactly uchar[] and not ushort[] (which incidentally can also be filled incorrectly)
The 2nd line is the output in human (not monospace) font. As you can see, it is technically easy to leave the monospace font only for ::ArrayPrint()
Hello. Please help me find the cause of this error. I'm transferring an indicator from mql4 to mql5. I am using the following "shell" for iHigh functions:
As a result, I get the error 4301: "Unknown symbol", even though a string returned by the Symbol() function is passed as the symbol parameter. Here is a piece of code of the function that calls iHigh