- Loading objects in MT5 takes a lot of time.
- Best approach to UI in MT4
- Panel and Click button
Hello everyone, I've created a sophisticated trade panel in MT5 using some of MT5 panel libraries, the issue is when I change between timeframes, none of panel buttons work before 15-17 secs, I found out that OnChartEvernt() function is not called before 15-17 secs. but I have no solution for that, does anyone have any solution. Thank you very much for your kind responses. (attach is a picture of the panel)
Start in the Editor the Profiling (Debug => Start Profiling ...).
There you can see the 'eaters' of performance.
Hello everyone, I've created a sophisticated trade panel in MT5 using some of MT5 panel libraries, the issue is when I change between timeframes, none of panel buttons work before 15-17 secs, I found out that OnChartEvernt() function is not called before 15-17 secs. but I have no solution for that, does anyone have any solution. Thank you very much for your kind responses. (attach is a picture of the panel)
Have you used the profiler to figure out where the bottlenecks could be?
-
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the source file.
How To Ask Questions The Smart Way. (2004)
Be precise and informative about your problem -
Perhaps a call of ChartRedraw
Hello everyone, I've created a sophisticated trade panel in MT5 using some of MT5 panel libraries, the issue is when I change between timeframes, none of panel buttons work before 15-17 secs, I found out that OnChartEvernt() function is not called before 15-17 secs. but I have no solution for that, does anyone have any solution. Thank you very much for your kind responses. (attach is a picture of the panel)
-
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the source file.
How To Ask Questions The Smart Way. (2004)
Be precise and informative about your problem -
Perhaps a call of ChartRedraw
1. man, I cannot post 20000 of code lines in 10 mql files here even if I want to.
2, ChartRedraw() does not solve this problem, I tried, it happens only when I change time frame.
Actually I know that the issue is certainly OnChartEvernt() function, I have a lot of code lines in my OnChartEvernt() function and the dashboard has many objects, when I reduce number of objects the it takes less time to load the panel on new chart when I change time frame. however I have no solution to make it faster with the existing number of objects.
Actually I know that the issue is certainly OnChartEvernt() function, I have a lot of code lines in my OnChartEvernt() function and the dashboard has many objects, when I reduce number of objects the it takes less time to load the panel on new chart when I change time frame. however I have no solution to make it faster with the existing number of objects.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use