mbingol:
only EA or indicator can attach on chart.
Hi,
When I attach my EA, I need to see what template is attached to the chart so that EA can open other time period charts of that symbol with whatever template has been applied to the chart.
We can apply a template with ChartApplyTemplate command. But I couldn't find a command like ChartGetTemplate.
Thanks in advance
Mehmet
Tan Phan Ngoc:
only EA or indicator can attach on chart.
You are right I had to use the word "apply" instead of "attach" for templates on a chart.
only EA or indicator can attach on chart.
mbingol:
It's not possible to get the template used. You have to use a workaround : ChartSaveTemplate(), open a new chart, ChartApplyTemplate().
Hi,
When I attach my EA, I need to see what template is attached to the chart so that EA can open other time period charts of that symbol with whatever template has been applied to the chart.
We can apply a template with ChartApplyTemplate command. But I couldn't find a command like ChartGetTemplate.
Thanks in advance
Mehmet
Alain Verleyen:
It's not possible to get the template used. You have to use a workaround : ChartSaveTemplate(), open a new chart, ChartApplyTemplate().
Excellent workaround. Thank you very much Alain.
It's not possible to get the template used. You have to use a workaround : ChartSaveTemplate(), open a new chart, ChartApplyTemplate().
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,
When I attach my EA, I need to see what template is attached to the chart so that EA can open other time period charts of that symbol with whatever template has been applied to the chart.
We can apply a template with ChartApplyTemplate command. But I couldn't find a command like ChartGetTemplate.
Thanks in advance
Mehmet