Issue backtesting two pairs on MT5
-
Hi there! I don't know..... I have a problem with the order step: when I work only with area 1 and I turn off area 2 it works fine, when I work with all two pairs the order step goes crazy.
This is the link of project https://fxdreema.com/shared/Dde046TGand these few screenshot of trade


@fxdreema are you here?
-
Interesting. I don't see any problem with the logic. Is this the whole project? Maybe any missing part is the reason it doesn't work properly.
-
@l-andorrà thanks, yes the whole project
-
@roar , you often use the MT5, can it be that because of the hedging account?
-
@ambrogio tested in netting mode, and it works ok.. Maybe it is confusing the modes, calculating average price of all those buys. I dont use that block myself
-
@roar In fact, it happens if in the two symbols there is the same currency (like in my project EURUSD and EURHKD), in pairs where there is not the same currency works well (like e.g. eurusd and audcad)
Thank you! -
The problem happened to me, I saw it, here is how my trades looked:

This is how it should look:

Eventually while I was investigating the problem in MetaEditor, it disappeared. Now it works for me and I wonder how to cause the problem again