orderclosetime() 's function ? if my ticket not close,then,what's the orderclosetime() 's

 

Read the documentation for OrderCloseTime():

"Returns close time for the currently selected order. If order close time is not 0 then the order selected and has been closed and retrieved from the account history. Open and pending orders close time is equal to 0. Note: The order must be previously selected by the OrderSelect() function."

Reason: