ChartApplyTemplate() is not working
What does the journal say ?
Did you print last error ?
Hi Marco,
I am using below code to apply template, it is printing "applied successfully" but actually template contents are not reflecting. This template contains my 3 custom indicators and some display settings but these are not getting displayed after apply.
if(ChartApplyTemplate(0,"Custom.tpl"))}
Please advice.
Does it work when you manually load it ?
When I am manually applying it, it is stopping the EA, dont know why ?
Can we apply custom indicator on Chart Sub Window from EA using CODE ?
- www.mql5.com
Dear Users,
I am trying to apply a Custom template using EA in MT4 platform but it is not getting applied on chart.
I tried with following options;
ChartApplyTemplate(0,"\\Custom.tpl");
ChartApplyTemplate(0,"Custom.tpl");
ChartApplyTemplate(0,"C:\\Users\\xxxxxxxx\\AppData\\Roaming\\MetaQuotes\\Terminal\\1DAFD9A7C67DCE4FE37EAA1FC1E5CF75\\templates\\Custom.tpl");
My Template is in the following directory : Users\xxxxxxxx\AppData\Roaming\MetaQuotes\Terminal\1DAFD9A7C67DCE4FE37EAA1FC1E5CF75\templates\Custom.tpl
I am using Meta Editor 5 Build 1384. Meta Trader 4 Build 1010.
Please advice !
Thanks & Regards !
Yogesh Verma