SanAlex, can you zoom in so that the MACD bars are clearly visible and the fast one crosses the slow one? I can hardly see it.
but what I added there - the purpose of the Expert Advisor is different. The aim is to get the total profit of all open pairs and to close all the Expert Advisors.
artem artem #: MakaeFX, now for some reason it does not open from the 4th confirmation candle, but actually from the 7th. I attached a screenshot from the tester
SanAlex, so the point is that what I want to implement will be even better + I've been doing it for a few days now, and I'm already fundamentally interested in what the right code should look like. And it will be very useful for the future, and the Expert Advisor will be really good. But your version is also good, I can't say anything against it.
SanAlex, can you zoom in to have clearly visible MACD bars and how fast one crosses slow ones? I can hardly see it.
Try
SanAlex, can you zoom in so that the MACD bars are clearly visible and the fast one crosses the slow one? I can hardly see it.
but what I added there - the purpose of the Expert Advisor is different. The aim is to get the total profit of all open pairs and to close all the Expert Advisors.
MakaeFX, now for some reason it does not open from the 4th confirmation candle, but actually from the 7th. I attached a screenshot from the tester
MakarFX, attached EA
exactly MetaEditor - version 5.00 build 2382
It's not clear how you compiled the file you posted...
Here, try and add what else you need
MakarFX, is it OK if I test on all ticks - from 01.08.21 to 03.09.21 - then 46 orders
and if I test only by opening prices within the same period - 29 orders ?
+ several orders explicitly missed their opening price if they were tested by ticks. I attached a screenshot, it shows