Discussion of article "How to create a graphical panel of any complexity level" - page 13
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
Hello!
Could you please tell me why your panel works fine on a real chart, but does not work in the strategy tester?
That is, events of button presses, for example, are not processed.
How can I fix it?
Thanks in advance!
That is, events of button presses, for example, are not processed.
How can I fix it?
Thanks in advance!
Hello!
I create a panel inherited from CDialog (or from CWndContainer, no difference).
If I create a panel in the main window of the chart, everything works - the panel is moved with the mouse and closed with the close button.
If I create a panel in a subwindow, then nothing works - the panel is immobile and does not react to the close button.
Question - how to make the panel react normally to events of the chart in the subwindow?
Hello, I managed to make my panel successfully. Thank you very much for your amazing tutorial.
A couple of years ago I posted a working solution with buttons. But Edit fields do not work in MT5 tester. Although you can add small +/- buttons next to the Edit field and edit through them. But there will be its own nuances.
Good afternoon!
Thank you, I figured it out.
Now other problems - all these panels from the standard library,
are absolutely non-functional in MT4 tester in the test visualisation mode.
Is there any global solution to this problem, so that I don't have to dance with tambourine for each control?
Good afternoon!
Thanks, got it sorted out.
Now other problems - all these panels are from the standard library,
are absolutely non-functional in the MT4 tester in the test visualisation mode.
Is there any global solution to this problem, so that I don't have to dance with tambourine for each control?
What do you mean non-functional? In my MT4 tester they fulfil their functions.
I gave an example when I inherited from CButton and added cMyButton::isButtonPushed() function to work with the tester.
I did the same for CEdit, CCheckBox and then I always use my inheritors. This is a one-time job.
In the TestPush file there was a sample function checkPushingButtons():
Here is from my working code:
I.e. in the end the difference with working without a tester and in a tester comes down to adding a single function checkPushingButttons(), where we add a string to each control, and check via tick whether it's a push or an input.
Prepare templates, do it a couple of times, I think, then you will get used to it.
Hello Vladimir,
first i also like to thank you for your great tutorial. I found a problem in using it in a template: Just put any of your applications into a template of an empty chart. After loading this template the application will come up twice like shown in the picture. Do you have any idea how to fix this?
Thank you in advance
Why is the panel/window cannot be dragged/moved past the chart boundaries?
What is the difference with Anatoli's easyfastgui library?