I haven't read the whole topic, maybe there is an answer to this question, MT5 doesn't understandably behave with graphical objects, the terminal is closed for some time and the objects remain attached to some obscure points. How do you deal with this? It's not difficult to do in those cases when a chart window is open. I personally add a transition to OnDeinit in OnInit(), but if the window is bookmarked it doesn't solve the problem. Maybe someone will tell us where we can "voice" the suggestions to the creators of MT5.
I haven't read the whole topic, maybe there is an answer to this question, MT5 doesn't understandably behave with graphical objects, the terminal is closed for some time and the objects remain attached to some obscure points. How do you deal with it? It's not difficult to do in those cases when a chart window is open. I personally add a transition to OnDeinit in OnInit(), but if the window is bookmarked it doesn't solve the problem. Maybe someone will tell us where we can "voice" the suggestions to the creators of MT5.
.
Provide exact data to reproduce: e.g. a chart template with objects.
I suspect that the objects are drawn by the indicator, and it is the indicator that incorrectly tracks prev_calculated.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
This option does not work
Corrected the code, everything is ok now.
Something you posted with an error, as it doesn't compile at all.
Something you posted with an error, as it doesn't compile at all.
Yes, it's a typo. Corrected.
Thank you, it works. Remains to be seen the effect on performance.
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
fxsaber, 2019.07.09 18:36
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
fxsaber, 2019.07.09 19:40
Release version is running. Optimization enabled.
Found optimal static array size by experience
For those who use dynamic resources (e.g., Kanvas), I recommend speeding up filling arrays in the following way
I found the optimal size of a static array through experimentation.
And if you compare it withArrayFill from mql5, will there be a speed gain or not?
I haven't read the whole topic, maybe there is an answer to this question, MT5 doesn't understandably behave with graphical objects, the terminal is closed for some time and the objects remain attached to some obscure points. How do you deal with this? It's not difficult to do in those cases when a chart window is open. I personally add a transition to OnDeinit in OnInit(), but if the window is bookmarked it doesn't solve the problem. Maybe someone will tell us where we can "voice" the suggestions to the creators of MT5.
.
I haven't read the whole topic, maybe there is an answer to this question, MT5 doesn't understandably behave with graphical objects, the terminal is closed for some time and the objects remain attached to some obscure points. How do you deal with it? It's not difficult to do in those cases when a chart window is open. I personally add a transition to OnDeinit in OnInit(), but if the window is bookmarked it doesn't solve the problem. Maybe someone will tell us where we can "voice" the suggestions to the creators of MT5.
.
Provide exact data to reproduce: e.g. a chart template with objects.
I suspect that the objects are drawn by the indicator, and it is the indicator that incorrectly tracks prev_calculated.
and if you compare it toArrayFill from mql5, will there be a speed gain or not?
I don't think there will be.
I don't think it will.
so why reinvent your own lisepad when there is already a productive function?