PositionClosePartial is working and sometimes not working

 
if(CT.PositionClosePartial(position_id_now,closelots,ULONG_MAX)==true)
                        break;

I developed some trade-copier for same user name only.

Sorry I cannot share the full code to here.

I know that my broker uses bridges.


But I found that, If the terminal with my eas (right - master / left - slave),


1. Turn Off the internet.

2. Terminal restart and some waiting.

3. Turn On the internet.


And my slave ea cannot close same position from master. (The PositionClosePartial returns false).


But if the internet is good from start, ( The PositionClosePartial returns true).

No Problem. Can someone fix or describe this problem?

Or I need mql5 support?


I attached my videos (1st : fail time with terminal start no internet 2 : success with terminal start good internet)

I can see this failure in my laptop, can reproduce.

사유: