Problem with Magic Number
-
EA with same magic number is opening 2 trades at the same time even though first condition is "no trade". What might be the problem? Maybe because they are on different charts?
-
@marianomartinez Did you casely specify the symbol explicitly? Otherwise you may share your project in order to check where the issue might be.
-
No, I didn't. Could you kindly show me how to do it? I want my EA to trade EURUSD/GBPUSD/USDJPY
-
@marianomartinez Well, everything looks fine for me. The only difference I found between sell and buy line is here (cross width) ..

But that has nothing to do with the issue you are facing.
Is it opening 2 trades on the same symbol or on different symbols?
-
On different symbols. Maybe I have to specify symbols on the "no trade" block?
-
@marianomartinez No. By default the EA only cares for trades with the same symbol and magic number that it is attached to. There must be something else wrong in your setup I guess.
-
What would happen if I specified the symbols I want to trade? Would it help?
-
@marianomartinez Usually that's not necessary.
-
Was the issue fixed? Kindly provide an update @MarianoMartinez