MACD MT4 default EA Question

 

Hi Guys,

I am hoping someone can help me.  I have changed the MACD MT4 default EA to work with Limit orders instead of market orders.  However, for the life of me I cannot figure out how to get it to delete the Limit orders.  I would think this should be a very easy thing to do...am I missing something?

I have attached the code below.  Thank you all in advance for any help you can offer.

Kind regards,

Matt

Files:
 
Matt :

Hi Guys,

I am hoping someone can help me.  I have changed the MACD MT4 default EA to work with Limit orders instead of market orders.  However, for the life of me I cannot figure out how to get it to delete the Limit orders.  I would think this should be a very easy thing to do...am I missing something?

I have attached the code below.  Thank you all in advance for any help you can offer.

Kind regards,

Matt


Never mind... I got it.  Thanks.

Reason: