Discussing the article: "Developing a multi-currency Expert Advisor (Part 2): Transition to virtual positions of trading strategies" - page 6

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
Forum on trading, automated trading systems and testing trading strategies
Discussion of the article "Developing a multicurrency Expert Advisor (Part 2): Moving to virtual positions trading strategies"
fxsaber, 2024.02.12 17:33
Your architecture is somewhat different from mine
I don't use inputs from the parent class. All my inputs are private and therefore can have the same name. This results in strong universalisation: the same code, which is hidden in one common macro. But that's how it is for me.
I think that this is not the final version either, as you have focused on those scenarios of use in parameters in code that have already been published. When it comes to assembling parameters into sets, and even more so to automatic assembling into sets, you will probably find that you can improve/simplify as well.
You're right. Did it this way. This is a global string-variable into which all input variables are automatically (and created). That is, no matter what objects are created, this variable is always input.
Just in case I remind you that string inputs are cut by 63 characters by the optimiser.
Just in case, I remind you that string inputs are cut by 63 characters by the optimiser.
Thank you. It is not an input, so the length is not limited.
Forum on trading, automated trading systems and testing trading strategies
Discussion of the article "Developing a multicurrency Expert Advisor (Part 2): Moving to virtual positions trading strategies"
fxsaber, 2024.02.14 11:36 AM
You are right. Did it this way. This is a global string-variable into which all input variables are automatically (and created). I.e. whatever objects are not created, this variable is always fed to the input.Attached.
Hi,
im on a steep learning curve of OOP. This follow-on to the previous article has been very helpful.
Still working through it. Thank you.