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
When placing a Panel into these control objects, such as in the example code ControlsPanel.mq5 (given here : https://www.mql5.com/en/docs/standardlibrary/controls/cpanel ) minimizing then restoring the panel resizes all panels to be the same size as the control;
On Startup:
https://www.mql5.com/en/charts/10905636/nzdjpy-h1-go-markets-pty
After Minimize/Restore:
https://www.mql5.com/en/charts/10905637/nzdjpy-h1-go-markets-pty
Is there any way to avoid this or is nesting Panels impossible, despite the implication of the documentation?
This article is an example of an alternative way to create panels.
Although I always liked the standard way (I recommend that you use the standard method)
Hello Vladimir,
Can you please explain how to create multicolumn listbox
Hello Vladimir,
Can you please explain how to create multicolumn listbox
This is something like a table to do.
Hey Guys,
question from a self learner!
When we create panels with the library how do we put the panel in a corner that is different form the topleft?
I fiddled with OBJ_PROP_Corner but I think there is a better way by using Panel.Align and Panel.Alignment. I played around but as a non programmer I don't know what parameters to pass and how to pass them. For example the Panel.Alignment(CRect &rect) what do those Rect things mean?
Any light much appreciated
cheers
Diego
Hey Guys,
question from a self learner!
When we create panels with the library how do we put the panel in a corner that is different form the topleft?
I fiddled with OBJ_PROP_Corner but I think there is a better way by using Panel.Align and Panel.Alignment. I played around but as a non programmer I don't know what parameters to pass and how to pass them. For example the Panel.Alignment(CRect &rect) what do those Rect things mean?
Any light much appreciated
cheers
Diego
At the time of creating the panel, we indicate the coordinates. Example for the file AppWindowEditDefine.mq5
I noticed that often times the *.Destroy() function simply doesn't work. It leaves objects on the chart after the Expert Deinit() function is called, especially when rapidly changing timeframes.
A simple workaround is to use pointers, instead of directly creating, modifying, and destroying the CAppDialog object.
The above functions now become this:
After building my custom window class, I also create and destroy all Buttons, Panels, and other objects like this. Works like a charm!
*Note: Setting the delete flag and pointer to NULL might be overkill, but I have not had left-over objects since implementing.
New article How to create a graphical panel of any complexity level has been published:
Author: Vladimir Karputov
Thank you very much for share. Excellent!
I missed just one thing in your example. You should help how to include data information as text and numbers.
For example:
Stop Loss Value:50.50
Take Profit Value: 250.00
Moving Average (200): 110.5.
Do you know any article to teach how to do this kind of thing?
Thank you very much for share. Excellent!
I missed just one thing in your example. You should help how to include data information as text and numbers.
For example:
Stop Loss Value:50.50
Take Profit Value: 250.00
Moving Average (200): 110.5.
Do you know any article to teach how to do this kind of thing?
Check out the standard panel examples in the MetaEditor.
Very useful, thanks for posting.
If YOU really do not see the difference, you urgently need to throw away the old terminal. The old terminal affects you badly. Unfortunately, the old terminal taught you to write very dangerous code - you are used to writing code WITHOUT CHECKS to return errors.