I trade with fxcm and trying to find a way to close all of my open buy orders when my sell stop is hit before it places my sell order. This is the script I use for my pending trades, can something be added to make it close all opposite trades when hit? I have been trying many different scripts and EAs but can't seem to get what I am after. Any help on this would be greatly appreciated.
Attached File(s)