Check build 5572 which fixed a critical bug.
If it happens again, please provide a source code that compiles to reproduce the issue.
Alain Verleyen #:
Check build 5572 which fixed a critical bug.
If it happens again, please provide a source code that compiles to reproduce the issue.
Hi Alain
just upgraded to 5572
The bug is still here (but not each time), even if the startup timing is different ( only 2 OnCalculate calls instead of 3 at startup )
Funny part is that entering the Help \ About menu force the graph to show up without any additionnal OnCalculate call.
Not a big deal.
I will make a minimal code to share it here.
Thank you
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
Hi
after several investigations, there is a bug which sometimes results in graph not showing at startup when these conditions are met:
In these conditions, OnCalculate is called several times until symbol series are synchronized ( 3 times here )
The third and last call, indicator buffers are corretly calculated, OnCalculate returns 8180
Despite the indicator buffer is calculated, MT5 does not always show the graph, until I click on the indicator windows ( drag, resize, ... ) with no additionnal OnCalculate call. ( then the graph is finally displayed )
Note the bug never happens when I delete the history folder before launching MT5 ( in such case OnCalculate is called only 1 time when the history is correctly loaded )
The only workaround I've found to fix this bug is to call ChartRedraw() manually.
I think there is a bug in the timing at terminal's startup.
Maybe you have an explaination about this strange behavior and issue.