Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1507
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I've been using this code for a long time.
I've been using this code for a long time.
Can you please tell me how to transfer money from my Baybit account to the MQL5 environment?
Can you tell me how to click the button to expand the window (i.e. the chart) from the service (EA)? There is a function ChartGetInteger with the parameter CHART_IS_MAXIMIZED, but this property is read-only. Maybe there is some non-programming way ?
The way I do it. 0) I close all windows. 1) I open the chart via ChartOpen 2) I load a template on it using ChartApplyTemplate. The window is always not maximally expanded. If there are 100 such windows, it does not look very good. I always have to expand the EA window myself to evaluate the work of the Expert Advisor.
Can you tell me how to click from the service(EA) to expand the window i.e. chart ?
I can't check, but:
I can't verify it, but:
only GetParent is also needed once or twice (I don't remember how many :-) )
and this is from the build, the authors may well change the structure of window nesting.
I mean it's not good to do it this way, only out of desperation.
but you also need GetParent
GetParent
Thanks guys. I combined your answers, indexed a bit and it worked:
I create a button using Controls\Button.mqh library and a panel using: Controls\Dialog.mqh
.
And then I add the created button to the panel and move the panel a little bit as a result I get:
This leads to two questions
1) How can I bind all buttons if I use the variable "i" equal to the number of characters when creating them?
2) How can I prevent the panel created through the library from moving?