Forum

Delete pending orders

Hi guys,is there anyone who can help with creating an MT5 object that can delete existing pending orders opposed to the ones taken? ive created an order cancel object but it based on the balance condition,and im looking for a condition that cancels the opposite orders that were not triggered.Please

Invalid stops error!

Hi,ive created this pending order EA ,it was working well,all of a sudden it started returning the invalid stops error.Can somebody help please