At the moment i am running an EA that is used for opening orders when price is hitting horizontal lines. I have multiple horizontal lines plotted on my chart that each act as either a limit or stop order, but without ticket number until price touches the specific line. Therefore i am not able to use codes that remove pending orders (neither can i modify or delete these horizontal lines because they are plotted on a chart that is running a different EA).
To make myself more clear, what i am looking for is a bit of code that closes down MT4 (or shuts downs all EA's currently running), when an open order got closed by either take profit, stoploss, or other/manual. Is this possible within MT4? Thanks.
To make myself more clear, what i am looking for is a bit of code that closes down MT4 (or shuts downs all EA's currently running), when an open order got closed by either take profit, stoploss, or other/manual. Is this possible within MT4? Thanks.