Open new Charts in an EA

 

Hi folks,

is it possible to write an EA code which runs in an opened chart window and that chart opens another chart window by itself?

for example

if(condition==true)

Open a second chart EURUSD D1


Is this possible?

 
FamWue: is it possible

With WinAPI anything is possible, but I wouldn't even begin to try.

The question is why would you want to? Perhaps an Alert, minimizing the window (uncovering the other) or raising another chart to the foreground could be better choices.

 
WHRoeder:

..but I wouldn't even begin to try.


y not ?

https://www.mql5.com/en/forum/119595