CloseOrders (With further filtering):
Yes you can surely download the code (it's free) and add a parameter, then you will have to put a filter based on the profit/loss
The only job of this script is to close orders
How to use the parameter "Close only Orders Maching the magic number"....
That is to filter to close orders only if they have a specific Magic Number
Please enable the necessary setting in your browser, otherwise you will not be able to log in.