The function returns the time value for the specified price value of the specified object.
[in] Chart identifier. 0 means the current chart.
[in] Name of the object.
[in] Price value.
[in] Line identifier.
The time value for the specified price value of the specified object.
The function uses a synchronous call, which means that the function waits for the execution of all commands that have been enqueued for this chart prior to its call, that is why this function can be time consuming. This feature should be taken into account when working with a large number of objects on a chart.
An object can have several values in one price coordinate, therefore it is necessary to specify the line number. This function applies only to the following objects: