How to get Friday quotes close time (MT5)?
-
l want to get Friday quotes close time
Example : l want to get that 23:58 to string input
My requirements is l want to set Expiration time of pending order on Friday at market end quotes time

Thank you.
-
Hi
I don´t know if as a string variable it will work or not but remind what @fxDreema has explained in the forum about this: if there is no tick coming at that time, it will not be posible to meet the condition time.
@fxDreema suggested to use a period of time to get what you want such as if time > 23:30 --> Close positions using the condition block or a time filter block.

Should work.