How to reboot EA once a new chart is opened?

 

Hi,

I have an EA that displays information about the pair that it is attached to and I would like the EA to reboot when I open a new chart so that it shows information for the new pair.

How can I achieve this?

Thanks in advance! 

 
  1. There is no reboot.
  2. If it is coded to trade the current chart only, then put it on the new chart.
  3. Otherwise, it does what it does.
 

You could save the layout of the chart containing your EA as template to 'default.tpl', or better save it as custom template and apply that whenever you need it.

Note that only one EA per chart is allowed, so first I'd look for ways to make your EA an indicator.

Reason: