Is it possible to open second (and third) subwindow programmatically to an existing main window of the chart
Hi,
I hope that there is a moderator from the technical stuff of the Metaquotes who watches the questions and gives correct answer when there is no good answer from the other users.
I couldn't find answer to the question described in the subject.
With other words: Is there a supported way to open a second subwindow in MT4? Or the solution can be done only a "tricky" way by using window handles and so on.... I saw a solution like this and I didn't like it. I tried to implement it but it didn't work.
Thanks
gszabo: Is there a supported way to open a second subwindow in MT4? | See Data Function - Creation of a Normal Program - MQL4 Tutorial |
gszabo: Is there a supported way to open a second subwindow in MT4? | See Data Function - Creation of a Normal Program - MQL4 Tutorial |
I looked at that DataFunction tutorial and what I could see was that the program searched a window with calling of
WindowFind("inform")
It means that the program didn't CREATE a new subwindow but only tried to find an existing one. What I want is that the program (indicator or expert) itself can open a new subwindow to display something (forinstance a graph).
And I can't find solution for this.
It would be good if the developers of MT4 built a function or something in to provide a tool for opening new subwindows from a program.
I looked at that DataFunction tutorial and what I could see was that the program searched a window with calling of
It means that the program didn't CREATE a new subwindow but only tried to find an existing one. What I want is that the program (indicator or expert) itself can open a new subwindow to display something (forinstance a graph).
And I can't find solution for this.
It would be good if the developers of MT4 built a function or something in to provide a tool for opening new subwindows from a program.
I already answered you. You can only do that with an indicator.
Do you mean that you can write a custom indicator which automaticaly opens a 2nd subwindow besides it's own window? How does it?
I already answered you. You can only do that with an indicator.
I have already tryed. If the indicator is a resource, it will not work at all.
I have already tryed. If the indicator is a resource, it will not work at all.
It's perfectly possible, but not trivial.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I hope that there is a moderator from the technical stuff of the Metaquotes who watches the questions and gives correct answer when there is no good answer from the other users.
I couldn't find answer to the question described in the subject.
With other words: Is there a supported way to open a second subwindow in MT4? Or the solution can be done only a "tricky" way by using window handles and so on.... I saw a solution like this and I didn't like it. I tried to implement it but it didn't work.
Thanks