honestly sat for an hour in the search, but did not find a solution.
The task is as follows:
There are several charts of different currencies, all with the same Expert Advisor.
The input parameters for each currency are different. Accordingly, there is a set of presets, 1 for each currency.
Since there are several accounts and the computers on which they are installed, too,it is very painful to manually apply these settings for each chart each time on each MT5.
Actually the question is: is there a way to programmatically (MQL5) load the preset file according to Symbol() current schedule?
p. s: I have seen solutions for parsing text files… but this one’s a pain in the ass. There are a lot of currencies, settings are constantly changing/being added. When parsing, something will inevitably get mixed up with something…
at the same time, you need to have a way to visually control the parameters (i.e., through the “input parameters” tab and save the current settings to a file and then automatically load these parameters depending on the currency of the current chart)