Discussing the article: "Developing a multi-currency Expert Advisor (Part 1): Collaboration of several trading strategies" - page 3

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
I'm in the process of redesigning almost from scratch my previously written code over the last few years
When refactoring, you always want to do it in such a way that you won't have to redo it later and it will be convenient/perspective.
As a result, I came to this solution of working with inputs.
When refactoring, you always want to make it so that you don't have to redo it later and it's convenient/perspective.
It seems architecturally promising when CStrategy is divided into three entities: the trading core (gives signals), the trading part (trades signals) and MM
Here we have all of them together. But it is convenient when you can change the same core (new Core2 instead of new Core1) with other inputs. At the same time, the replacement can be done without any fiddling with the inputs, because they are defined syntactically in the same way - a string.
Similarly with control and MM. In general, I propose to think again about a universal architecture.
It seems architecturally promising, when CStrategy is divided into three entities: trading core (gives signals), trading part (trades signals) and MM....
It seems that this approach is already implemented in SB - CExpert class.
And there is even a CStrategy class by Vasily Sokolov ))
I saw the standard CExpert class, but it didn't work for me. It added too much that I didn't need. The inheritance hierarchy was also a bit discouraging, when the base class for implementing money and risk management algorithms and the base class for creating generators of trading signals are inherited from the same base class.
I have not seen Vasily Sokolov's series of articles, thanks for the link, I will have a look.
So already, it seems, such an approach is implemented in SB - class CExpert.
It seems that the task of integration into the Strategy Wizard was solved there. That is, the initial approach is quite different. Certainly, there are some overlaps, but it is rather a coincidence.
And there is even a CStrategy class by Vasily Sokolov ))
It seems to me that the architectural skeleton should be extremely concise and easy to use. That's why the basic class of TS is like this.
Forum on trading, automated trading systems and testing trading strategies.
Discussion of the article "Developing a multicurrency Expert Advisor (Part 1): Joint work of several trading strategies"
fxsaber, 2024.01.24 12:31 pm
Next, a little tendon fattening. It should be very simple.
Unfortunately, Vasily has a different approach.
It seems to me that the architectural skeleton should be extremely concise and easy to use. That's why the basic class of TC is like this.
Next, a little fleshing out of the tendons. It should be very simple.
There is something similar simple (in terms of interface) but extended (in terms of implementation) in the book.
There is something similarly simple (in terms of interface) but extended (in terms of implementation) in the book.
Where can I download the source code?
Where to download the source code?
https://www.mql5.com/ru/code/45595