I've found an issue with exit on Friday.
EA can not exit by themselves at 22:00, however, they did it fine before (strategies generated on previous builds)
I found that when I connecting to my trading computer and opening mt4 software, it begins close all positions which should be already closed.
For example
Positions should be closed at 22:00. I am monitoring them with a mobile app. At 22:01 positions are still open.
I've decided to connect to my trading pc at 22:08 and all positions closing at the same time.
I have the following errors, which I attach here
(it is 23:08 on screenshot as there is 1-hour difference with between mt4 terminal time and computer time)
will monitor this issue on next Friday as well
i am running 700+ strats on my demo pools, and every strategy exiting friday without problem
Status changed from New to Waiting for information
I can see on the screenshots that multiple strategies try to close the same order. That should not happen.
The only possible cause for this is that you don't have unique magic numbers in your EA settings for each strategy. Is that right?
Best regards,
Tomas
Subject changed from Exit on Friday bug to Exit on Friday bug (end of the day)
thank you for your reply.
As far as I know different magic numbers must be within one symbol. So they are.
So if we have 12345 for EUR USD strategy and 12345 for EURJPY strategy there should be no conflict.
Last week It didn't have any issues with closing on Friday BUT....
I've added a bunch of strategies (EURUSD ) which should close at the end of the each day at 21:45.Other strategies should close on Friday. One of the open strategies closed ok at Tuesday and pulled every other strategies even though their exit rules stop-loss/take-profit or exit on FRIDAY.
It is very weird behaviour and it is no a magic number reason.
Once again one eurusd strategy pulled and closed all other strategies which should not be closed.
I have noticed sometimes similar behaviour where you relaunching mt4 terminals with open EA and after a fresh start EA just closing all positions.
Even all pending orders were deleted. Empty terminal.
If you need teamviewer session I will be glad to help you.
Thank you for your help.
My bad. I had a mess with magic numbers as I thought they could be similar on different symbols.
Status changed from Waiting for information to Fixed
If you need anything else, just leave a comment or create a new task.
Best regards,
Tomas