"Set Current Market" block vs running pairs separately not adding up
-
When using a "set current market" block for EURUSD,AUDCAD,AUDNZD,EURGBP,CHFJPY, and running my EA, I get 1 set of statistics(profit factor, balance). After switching to a single pair EA without "set current market", I run each of those pairs separately. After adding up the balance, The net balance for the 2 EA's are always somewhat close, maybe 1 or 2 thousand off but never the same.
Why is this? Is it because the first EA is using only 1 spread for all pairs, or maybe because my money management consists of using a percent of my balance, and my balance doesn't reset when "set current market" switches pairs? And can I fix this?
-
@supersako There can be several reasons. Can you please share both projects?
-
Project for 5 pairs at the same time
https://fxdreema.com/shared/O8n8J6ahdProject For single pair
https://fxdreema.com/shared/pQnvZqR2eThey're both simple EA's for the same indicator. When TP is hit, move SL to BE.
-
@supersako Ok. Apparently both logics are correct. BTW, you can remove block 86 in both cases. It is completely unnecessary. Othar than the balance issue, do both EAs work correctly?
-
Thanks for the advice. Both EAs are working correctly in the visual tester. I've compared the number of trades for both EAs and they are both exactly the same (1144, 5pair EA ran once, single pair EA ran 5 times), so my only guess is that they are doing something differently in terms of money management.
I've also discovered that for the 5pair EA, profit and profit factor change depending on what symbol it is on, But the "Set for current market block" should override whatever symbol I select in the strategy tester right? Why are they not all the same? I used "All Market Watch symbols" in this picture

-
@supersako Those different profits are condtioned by your balance currency. If it is in US dollars, all calculations will be done in US dollars for the backtesting day exchange rate. Doing it with different instruments means different exchange rates will be considered depending on the US dollar exchange rate that day with the currency of the symbol. This is why thos ratios are different. They will always be.
-
ah ok I understand it now. Thanks for the help, and Merry Christmas.
-
@supersako You're welcome and Merry Christmas too.