Hi!
Have you figured out how to apply the custom template on other symbol/timeframes?
I tried to use chart functions:
https://www.mql5.com/en/docs/chart_operations/chartapplytemplate
long first = ChartFirst(); // first = 12345 long next = ChartNext(first); // next = -1 ChartSaveTemplate(0, "thetemplate"); int error = GetLastError() ; // error = 4001 - Unexpected internal error ChartApplyTemplate(first , "tester.tpl"); error = GetLastError() ; // error = 5019 - File does not exist ChartApplyTemplate(next , "tester.tpl"); // error = 5019 - File does not exist error = GetLastError() ;
But have no success changing the template in strategy tester.
Documentation on MQL5: Chart Operations / ChartApplyTemplate
- www.mql5.com
Chart Operations / ChartApplyTemplate - Reference on algorithmic/automated trading language for MetaTrader 5
I also have this exact same issue. Does someone know how to apply templates to additional
charts loaded by the EA on strategy tester??????
Same problem. Still cannot find solution. Anywork around?
TheOat:
Same problem. Still cannot find solution. Anywork around?
Not possible currently.
Same problem. Still cannot find solution. Anywork around?
Mahdietc:
Hi just remove the .tpl from end of file name
Someone found a solution so far?Hi just remove the .tpl from end of file name
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
Hi,
I have a problem in strategy tester in visualization mode:
If the terminal sets a template with the name tester.tpl in the directory/profiles/templates of the client terminal, then it will be applied to the opened chart. In its absence, the default template is applied. (default.tpl).
So far so good.
But now: if I use more than one symbol or more than one time frame in the EA additional charts will be displayed in the strategy tester with an ugly green/white/black background design.
I want to apply the tester.tpl. Even if I create a new template with name <eaname>.tpl in the directory profiles/templates, I have no success.
Is there anybody who can help me?
Thank you!
Bobcat