Errors, bugs, questions - page 2861
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
You're wrong, it's not the same thing.
The description of a static variable in a class, is its pre-definition (similar to the pre-definition of a function or class), but the placement essentially just tells the compiler where the variable will be stored in memory and when it should be initialized
So why is error (2) here, if i is already pre-declared earlier (1)?
Is there any point in doing a Reserve in ArrayResize for a string array? Or is there no benefit to be gained from it?
Hi all!
Can you please tell me if it is possible to create an indicator window from a script that is pressed to the left or right edge of the chart? Some sub_window_align = left or something like that...
Thanks in advance!
Dear developers!
Is there a possibility to manage the order of passing a new tick to indicators handles?
The situation is as follows: the first indicator calls the other one, but because this "other" was created after the first one, the tick comes to the first one and the "other" informs it that it has not yet counted the new tick on the new bar, and the first indicator recalculates itself, leaving the indicator value uncalculated, which is critical for an EA.
Dear developers!
Is there a possibility to control the order of passing a new tick to indicators handles?
The situation is as follows: the first indicator calls the other one, but because this "other" was created after the first one, the tick comes to the first one and the "other" informs it that it has not yet counted a new tick on the new bar and the first indicator recalculates itself, leaving the indicator value uncalculated, which is critical for the EA.
No. In such constructions, the only solution is to convert the indicator to a class and add it to the Expert Advisor as an instance of the class, then you can build the sequence of calculations
Can you tell me which code closes the Market Watch window?
MQL programs can only manage the properties of the chart and have no access to the rest of the terminal,
only send a message to this window via WinAPI
only to send a message to the box via WinAPI
That's what I asked.
That's what I was asking about.
so it's not to close, it's to minimize
then i doubt it will work even with WinAPI, the window style there is most likely Toolbox - and they don't seem to accept minimize window messages
PZY: And if you change the terminal to a new desktop in Win10 - won't the CPU load decrease? - no items will be drawn if the desktop is not made active