Delaying trades

 

Hi,

I really need some help making this EA so that it is delay in closing the trade for at least 3 minutes. Could someone please help me out? I need it to open the trade like it normally does, but then I need it to not close the trade unless it has been at least 3 min. Could someone please tell me how to do that? Thanks.

Files:
 

orderopentime()

I also have a question about how to add minutes to something like OrderOpenTime(). If I wanted to say if((OrderOpenTime()+3min)>CurTime()) how would I add those 3 minutes. How do I make it the same formate as time and in the minute format so that it will add to the OrderOpenTime()?

Reason: