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
Developing a multi-currency Expert Advisor (Part 14): Adaptive volume change in risk manager
Developing a multi-currency Expert Advisor (Part 15): Preparing EA for real trading
Developing a multi-currency Expert Advisor (Part 16): Impact of different quote histories on test results
Developing a multi-currency Expert Advisor (Part 17): Further preparation for real trading
Developing a multi-currency Expert Advisor (Part 18): Automating group selection considering forward period
We have implemented automation of the second stage of optimization using the forward period. Again, no clear advantages were identified. The task turned out to be much broader and required more time than we initially expected. In the process, many new questions arose that are still waiting for their turn.
We were able to see that if a forward period falls on an unsuccessful period of the EA's work, then we seem not to be able to use it to select good combinations of parameters.
Developing a multi-currency Expert Advisor (Part 19): Creating stages implemented in Python
We accomplished the task and the hypothesis was confirmed. So, next looked at how we could improve the results of such automatic selection. It turned out that if we split the set of all single instances into a relatively small number of clusters and make sure that instances from the same cluster do not end up in it when selecting a group, then this will help not only improve the trading results of the final EA, but also reduce the time for the selection process itself.
To perform clustering, we used a ready-made library scikit-learn for Python, or, more precisely, the implementation of the K-Means algorithm. This is not the only clustering algorithm, but considering other possible ones, comparing and choosing the best one, as applied to this problem, was beyond the acceptable limits. Therefore, essentially the first algorithm that came to hand was taken, and the results obtained using it turned out to be quite good.
Developing a multi-currency Expert Advisor (Part 20): Putting in order the conveyor of automatic project optimization stages (I)
Developing a multi-currency Expert Advisor (Part 21): Preparing for an important experiment and optimizing the code
Developing a multi-currency Expert Advisor (Part 22): Starting the transition to hot swapping of settings
In the previous two parts of our article series, we made serious preparations for further experiments with auto optimization of trading EAs.
In this new article, we will delve into the implementation of a new mechanism for loading parameters of final EAs, which should allow for partial or complete replacement of the composition and parameters of single instances of trading strategies, both during a single run in the strategy tester and when the final EA is running on a trading account.