How can I modify an EA, setting the exit after a a number of bars or days?

 
Hello, I'm a totally beginner, and I need to know if it's possible to modify an existing EA, setting the exits from any position at a maximum fixed bars or days, if both stop or take profit didn't close the position. Is there a simple code to add?
Thank you very much.
 
It is possible to modify an existing EA if you have mq4 file.
 
yes, I have the mq4 file.. It's just that I don't know the language at all. The logic is to close all the open positions if the last one is opened more than n hours.
I'm also searching for good EAs, free or paying for them. Could you help me in this?
Thank you again.
Mattia.
 
coocosnest wrote:
yes, I have the mq4 file.. It's just that I don't know the language at all. The logic is to close all the open positions if the last one is opened more than n hours.
I'm also searching for good EAs, free or paying for them. Could you help me in this?
Thank you again.
Mattia.

Ok. Would you please contact me.

info [at] e2e-fx [dot] net
ICQ 169791434