close open position in 2 hours

 

Hello,


I sometimes open manually position and i would like to know if there is possibility to close automatically my open position exaclty 2 or 4 hours after i have opened them

Or maybe find a way to close them when the bar is finished when a new bar opens.


Thank you fo information


Emeric

 
https://www.mql5.com/en/job
 
riicoFX: i would like to know if there is possibility to close automatically my open position exaclty 2 or 4 hours after i have opened themOr maybe find a way to close them when the bar is finished when a new bar opens.
  1. Code a script to do it. It'll be about ten lines of code.
  2. learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
Reason: