Help with expiry of orders

 
Hello fellow traders,

I cant really find any way to set a certain time for the expiry of an order, ex. A buy stop. Does anyone know how to do this in mql5?

Thanks in advance
 

Hello Maate,

You need to clarify if it's on MT5 mobile or MT5 on PC. Than share what you've been working with if there's any.

 
Adewumi Caleb Adefemi #:

Hello Maate,

You need to clarify if it's on MT5 mobile or MT5 on PC. Than share what you've been working with if there's any.

Sorry if my post was unclear, but i meant in code (mql5)