Errors, bugs, questions - page 1968
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
Why this silly and useless warning "no #import declaration" if you write it in the header file:
There is no limit to the number of declarations in decent places. Annoying, I want to have a brief description of available functions in the mqh header, I have to comment lines, which negatively affects readability. Someone may say, "put static methods in a class or structure (when using structures, another wonderful warning "struct has no members, size assigned to 1 byte" appears)". I'll answer: "I don't like µl classes, I want to use the first option" without this flood of goopy warnings. Why are you forcing me to abandon perfectly valid common practices?
Why this silly and useless "no #import declaration" warning if you write it in the header file:
This is a special case. It makes sense in a more general solution to add an analogue
#pragma warning (disable:xxxx)
and every experienced programmer could disable the annoying warning (the number can be found in the command compiler). The existing warning system is essentially useless... I don't even look through them because there are hundreds of the same-type ones that do not take into account the programmer's writing style and experience. And among these hundreds of them it is hard to find really important warnings worth paying attention toThis is a special case. It makes sense in a more general solution to add an analogue
and every experienced programmer could disable annoying warnings (the number can be found in the command compiler). The existing warning system is essentially useless... I don't even look through them because there are hundreds of the same kind of warnings that don't take into account the programmer's writing style and experience. And among those hundreds of them it's hard to find really important information worth paying attention toDear developers! Please remind, were there any edits about the fact that if the indicator calculation is in a subwindow and the style of several of its buffers is DRAW_NONE, then they do not affect the scale of display in the subwindow? Or there were no such edits?
If we haven't made such changes, please, make them. Because now it turns out that the DRAW_NONE style affects the graphics in the subwindow, which should be at a completely different scale!
Yes, I agree. Only I think it's better to manage a set of warnings at once. Key mechanism (like -Wno_all) or #pragma warning (level:{0|1|2|...}). It's cumbersome to disable one at a time.
I've probably been asking for years for an example for every warning and error that would clearly show why they're coming out.
In this light, tiering and explicit management of warrants looks like a fantasy.
Dear developers! Please remind, were there any edits about the fact that if the indicator calculation is in a subwindow and the style of several of its buffers is DRAW_NONE, then they do not affect the scale of display in the subwindow? Or there were no such edits?
If you did not make such changes, please, make them. Otherwise now it turns out that the DRAW_NONE style affects the graphics in the subwindow, which should be at a completely different scale!
This has been fixed. I wrote a ticket and then checked...
Addendum: it turns out there were even 2 tickets. In MT4 it was fixed, but in MT5 it seems not.
This has been fixed. I wrote a ticket and then checked.
Here I thought it was fixed, but now it's not. Just checked. Bild 1643.
See above, I finished ;-)
See above, I finished ;-)