dear traders,
i have installed 3 MT5 terminals and trade with 3 different accounts with the same EA with differenct magic numbers.
my problem is that they seem to be interfere with each other.
For example, the EA is set to allow only maximum 1 position. It works fine for using 1 EA on 1 MT5 terminal.
However, it is not okay that when i diplicate the same on another MT5 terminal with a different magic number. It exceeds the maximum position to have two positions.
I appreciate you advice.
Unless each instance of your EA is writing to a common external file, I doubt that interference is the case. At the moment, I have 4 MT5 terminals on one pc with no issue. If you want to be sure, reinstall all MT5 terminals in Portable Mode which will isolate them from each other 100%.
"Portable Mode
When installed to Program Files, the platform works in the main mode described above on default. All the platform data are stored in a special Windows user directory. However you can force the platform to store its data in the installation folder."
- www.metatrader5.com
dear traders,
i have installed 3 MT5 terminals and trade with 3 different accounts with the same EA with differenct magic numbers.
my problem is that they seem to be interfere with each other.
For example, the EA is set to allow only maximum 1 position. It works fine for using 1 EA on 1 MT5 terminal.
However, it is not okay that when i diplicate the same on another MT5 terminal with a different magic number. It exceeds the maximum position to have two positions.
I appreciate you advice.
assuming that all terminals are trading on different accounts -- then if the above happened to me, then, i would be assuming, also, that it is the coding of the ea that is at fault.
However it is always possible that your internet connection is congested with all those terminals, depending on your type of internet access ie wifi, OR, your satellite, in either case this is also an issue that can be resolved by coding for such times. Note satellite is fast, but can have 600ms delay, which can cause these issues, albeit very rare nowadays.
BUT it is definitely not mt5 or the broker at fault.
The only other reason that i know of that might cause the issues you describe -- and is not ea coding -- is if you copied mt5 folder as a 2nd copy and into programs folder. By doing this you might be using the same cache and terminals data folders with all 3 terminals, which could cause the issues you have. If you have done this, then, i recommend that you change to using portable instances of mt5, described by ryan in this response, above.Thank you.
I installed portable versions to solve the problem.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
dear traders,
i have installed 3 MT5 terminals and trade with 3 different accounts with the same EA with differenct magic numbers.
my problem is that they seem to be interfere with each other.
For example, the EA is set to allow only maximum 1 position. It works fine for using 1 EA on 1 MT5 terminal.
However, it is not okay that when i diplicate the same on another MT5 terminal with a different magic number. It exceeds the maximum position to have two positions.
I appreciate you advice.