The question is simple – there is an adviser, tested for each necessary asset separately. It seems that everything is good and beautiful, but: when testing for one asset, the margin calculation is not particularly taken into account. The yield curve depends again only on one asset. How can I run an expert Advisor on 3-5 assets at the same time? So that there is a complete analogy with the real – there is a drawdown, there is a profit, a yield curve, etc….
Share
nikoin
I looked at the example, but there are all the settings for each character the same in the test will be?
barabashkakvn
You were shown a ready-made solution:
Forum on trading, automated trading systems and testing of trading strategies
Testing on multiple assets at the same time
Vladimir Karputov, 2019.02.18 12:32
Write an expert Advisor as a class – then the main expert Advisor creates its own instance for each symbol with its own settings.
Example: Multicurrency iMA Trend 2
MQL5 is a powerful language – you can create almost anything with it.
firsalex
Yes, it is possible to implement this by crutches and rakes, no question.
And about ReportManager, too, in the course, but this is also not an option, the reliability is low.
Sewing several assets into the code is also not an option – there can be hundreds of assets, especially when working with CFDs.
I would like to have a normal standard functionality-I pointed out the owl, selected assets, and clicked start testing. It’s not even technically that difficult, it’s strange why it’s not “out of the box”…
omegatube
All this can be implemented in the MT5 tester . Create a separate version of the owl and sew up trading on several assets in the code .
In MT 4, you can make a test for each asset and then collect all the reports in 1 through the ReportManager program . True, the difference will still be quite significant, better MT5 option .
barabashkakvn
Write an expert Advisor in the form of a class – then the main expert Advisor creates its own instance for each symbol with its own settings.
Example: Multicurrency iMA Trend 2