Scanner Auto deploy EA

 

I'm looking to create an EA that will scan multiple symbols and will then deploy the best suited EA to it.


How can I deploy EAs from another to a specific symbol?

 
Sam Cullin:

I'm looking to create an EA that will scan multiple symbols and will then deploy the best suited EA to it.


How can I deploy EAs from another to a specific symbol?

Create a template with an EA and then use ChartApplyTemplate() .

You can also open new chart (ChartOpen()) if required.

Documentation on MQL5: Chart Operations / ChartApplyTemplate
Documentation on MQL5: Chart Operations / ChartApplyTemplate
  • www.mql5.com
Applies a specific template from a specified file to the chart. The command is added to chart messages queue and will be executed after processing of all previous commands. The Expert Advisor will be unloaded and will not be able to continue operating in case of successful loading of a new template to the chart it is attached to. If the...
Reason: