First you can change this to 0, so the EA could see the manual orders: http://prntscr.com/hvgndj
Or, in the blocks there is an option to see only manual orders (where the Group settings are for blocks like "No trade" for example).
Here is something that I just made - https://fxdreema.com/shared/ELsR5b3od
To have pairs of trade-order, my idea is every time we create an order, its Comment to be the same as the ticket number of the trade. Well, the Comment is a string and the ticket number is an integer, which means that maybe there is a situation when conversion bug happens, but in my test it worked.

