chart.point.from_time() - Pine Script Function
chart.point.from_time()
Section titled “chart.point.from_time()”Overview
Section titled “Overview”Returns a chart.point object with time as its x-coordinate and price as its y-coordinate.
Syntax
Section titled “Syntax”chart.point.from_time(time, price) → chart.pointParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| time | series int | The x-coordinate of the point |
| expressed | — | as a UNIX time value |
| in | — | milliseconds. |
Remarks
Section titled “Remarks”- The index field values of chart.point instances returned from this function will be na, meaning drawing objects with xloc values set to xloc.bar_index will not work with them.