why this two strats don't work as well in the same program than separate?

 

Hi, I have two EAs, and when traying to going both, they don't give the same results (added) ... and don't know why.

Example, they are both profitable since 2020 till today, and when added, they are not profitable.

 
      if(total2>0)
        {
         if(Orden=="BUY" && tick2.bid > NormalizeDouble(pivot_prices[4],_Digits) && inp_magic == 22221)
You assume that total2 only applies to strategy two. It is the count of all opened positions. Likewise, total1.
 
William Roeder #:
You assume that total2 only applies to strategy two. It is the count of all opened positions. Likewise, total1.

0k, thanks

 
William Roeder #:
You assume that total2 only applies to strategy two. It is the count of all opened positions. Likewise, total1.

I've deleted all the totals (1 & 2), but the strats differ from originals ... what else could I do?