No, there is no instruction for that. OpenTime returns the opening time of the current bar.
If you are looking for the moment when a trade has opened, look at TRADEINDEX instead : http://www.prorealcode.com/documentation/tradeindex/
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok
Is this the time of the moment when the order has been open ?
No, there is no instruction for that. OpenTime returns the opening time of the current bar.
If you are looking for the moment when a trade has opened, look at TRADEINDEX instead : http://www.prorealcode.com/documentation/tradeindex/