That question is very vague. Please provide more information about that you are trying to accomplish.
probably wants to set the template for the chart from the EA running on that chart
If so then https://www.mql5.com/en/forum/138819. RaptorUK's answer is the closest practical solution. WHRoeder's ans is what I use. qjol's answer relates more to the question. If the op insists that he wants to do this with programming then winapi might be the way to go.
turtauu:
How do I use an existing template from within the program called?
How do I use an existing template from within the program called?
Question makes no sense.
When you apply a template to a chart, it sets colors and/or adds objects and indicators. Once applied the template is not there.
ubzen:
If so then https://www.mql5.com/en/forum/138819. RaptorUK's answer is the closest practical solution. WHRoeder's ans is what I use. qjol's answer relates more to the question. If the op insists that he wants to do this with programming then winapi might be the way to go.
If so then https://www.mql5.com/en/forum/138819. RaptorUK's answer is the closest practical solution. WHRoeder's ans is what I use. qjol's answer relates more to the question. If the op insists that he wants to do this with programming then winapi might be the way to go.
thx.
it was ok.
i saved my template, "default.tpl" and ok.

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
How do I use an existing template from within the program called?
thx