Assign a export to a chart

 

HEy all,


i stuck a bit. I try to create a routine, where i can open a new chart and assign a expert on it. I had this already but i missing pages in my head.


Thanks 4 help

 
You can use drag and drop.
 
Marco vd Heijden:
You can use drag and drop.

no, i want to assign it through MQL5. Having a main chart, which is able to start a new chart.

 

In that case ChartOpen()

And also IndicatorAdd()

 
Marco vd Heijden:

In that case ChartOpen()

And also IndicatorAdd()


Can i add a expert > File.ex5 with IndicatorAdd to a chart ? When i read the list, i guess it can be handled with openFile() ?

 
Christian Stern:


Can i add a expert > File.ex5 with IndicatorAdd to a chart ? When i read the list, i guess it can be handled with openFile() ?

No. You need to use a template and ChartApplyTemplate().
Reason: