I have searched in many places for an analogue of function : OrderCloseTime() . Such a function does not exist in МQ5. I share my way to get the closing time of an open position in MQ5. I use in the expert advisor a simple loop for a specified number of open positions: / and