How is do you do: I want to open new chart with my template - automatically

[Deleted]  

Hi everyone,

please, I can´t find instruction for my matter. I saw this somewhere along here....

I want to open new chart with my own template - automatically (with using MQL)

Thank you for your help, code example please

Nice week! Endy

 
Rename your template.tpl to default.tpl
[Deleted]  

Hi, Raptor,

ok, it is solution for one, the same, chart but when I want this:

event 1: I want open new chart with template1

event 2: I want open new chart with other template - template2...

WITH USING MQL CODE (AUTOMATICALLY)

How do you do it?

 
endy5:

event 2: I want open new chart with other template - template2...

WITH USING MQL CODE (AUTOMATICALLY)

How do you do it?

There isn't a way to do it from mql4 using standard functions.
 
PostMessageA(handle, WM_COMMAND, 34800, 0); // 34800 = the first template, 34801 = the second, 34802 = the third & so on