Close all trades if first trade not finish in next 60 minutes

 

Hi,


how can I close trade if one trade not close in next 60 minutes? So not reach TP?


Regards

 
Timer()
Close position()
Or
Candle H1 Close change, Close positions.
Look for Close position function on mt5 forums topics
 

Go through history and find the last closed trade. Compare to current time. Close all trades.

What's the problem? Show us your attempt (using the CODE button) and state the nature of your difficulty.
          No free help (2017)

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum (2018)

We're not going to code it for you (although it could happen if you are lucky or the problem is interesting).
          No free help (2017)