Using MQL5 script, can I open a chart windows of different instruments in MT5 and attach an EA to that chart? The EA has certain INPUT variables that I need to adjust via the script for each window.
Thanks for your helpful answer, I try running the Expert "LondonBreak" using following code, after running the code, the expert is every time attached to the chart, but the expert is in de-active mode, with a red icon next to the Expert's name on the chart, can you perhaps guess what my mistake is:
string sec = "NZDUSD";
int period = PERIOD_H1;
Params.string_value = "Experts\\LondonBreak.ex5";
Params.type = TYPE_DOUBLE;
Params.double_value = .1;
Params.integer_value = 400;
Params.integer_value = 300;
Params.integer_value = 4;
EXPERT::Run(ChartOpen(sec, period), Params);
Unfortunately, I can not check your situation, because I do not have this EA.
Try this before starting the EA.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.