ARe you using the same magic number on your EAs? :) Or are you using multiple instances of the same EA on the same symbol, but multiple timeframes?
Same EA, same timeframe, same symbol, same Lot, same problem
Seb
Sadly it is doing what just you programmed it to do..
The constructs are wrong
1) ordTotal generation is not taking MagicNumber into account, so it will miss some order entries
2) The second looping of OrdersTotal() closes an order (if found) that is specifically not of the MagicNumber set at the top...
-BB-
Seb
Sadly it is doing what just you programmed it to do..
The constructs are wrong
1) ordTotal generation is not taking MagicNumber into account, so it will miss some order entries
2) The second looping of OrdersTotal() closes an order (if found) that is specifically not of the MagicNumber set at the top...
-BB-
I mean I understand the basics of programming, but to be honest, I kept trying to modify the code, but it doesnt get any better. Do you maybe have some examples what I can paste in my code?
Thanks, Seb
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I have an EA what I want to run on the same pair with different settings. Now it opens only one position even if two other EAs were suppose to open a trade as well.
And even worse, if one EA is suppose to close it position, but does not have an open one, it just closes a position from another EA.
Is there something wrong with my Magic Number?
Any ideas? Thanks in advance!