Discussing the article: "Developing a multi-currency Expert Advisor (Part 22): Starting the transition to hot swapping of settings"
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: Developing a multi-currency Expert Advisor (Part 22): Starting the transition to hot swapping of settings.
Let's try to describe in more detail what we want to achieve. Ideally, the system should work something like this:
Let's consider each of these points. To implement the first point, we already have a project generation script EA from the previous part, in which we can use parameters to select the end date of the optimization. But for now it can only be launched manually. This can be fixed by adding an additional stage to the project execution conveyor that generates a new project once all other stages of the current project are completed. Then we can only run it manually the first time.
For the second point, we only need to have a terminal with the installed Optimization.ex5 EA, which has the required database specified in its parameters. As soon as new outstanding project tasks appear in it, they will be launched for execution in the order of the queue. The last stage, which comes before the stage of creating a new project, should in some form transfer the results of the project optimization to the final EA.
The third point is the most difficult. We have already implemented a single option of passing parameters to the final EA, but it still requires manual operations: you need to run a separate EA that exports the parameter library to a file, then copy this file to the project folder, and then recompile the final EA. Although we can now delegate the execution of these operations to program code, the structure itself begins to seem unnecessarily cumbersome. I would like to do something simpler and more reliable.
Author: Yuriy Bykov