I have an EA running on a chart, it has a magic number: "100"
I rename the EA in Data Folder > MQL5 > Experts folder while the EA is still running (no code is changed)
I refresh the Navigator window and the name change shows up
I drag the EA with the new name onto the chart where the same EA with the old name is running
MT5 asks me if I want to replace old-name EA with new-name EA, I say yes
New-name EA is now running on the chart where old-name EA was
Question: Will new-name EA take control of the open trades that old-name EA opened, and exit the trade in the same way old-name EA would have done? Will magic number "100" ensure that MT5 properly associates open trades with respective EA's?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello,
Please could someone advise me?
I have an EA running on a chart, it has a magic number: "100"
I rename the EA in Data Folder > MQL5 > Experts folder while the EA is still running (no code is changed)
I refresh the Navigator window and the name change shows up
I drag the EA with the new name onto the chart where the same EA with the old name is running
MT5 asks me if I want to replace old-name EA with new-name EA, I say yes
New-name EA is now running on the chart where old-name EA was
Question: Will new-name EA take control of the open trades that old-name EA opened, and exit the trade in the same way old-name EA would have done? Will magic number "100" ensure that MT5 properly associates open trades with respective EA's?
Thank you