chart.point.now() - Pine Script Function
chart.point.now()
Section titled “chart.point.now()”Overview
Section titled “Overview”Returns a chart.point object with price as the y-coordinate
Syntax
Section titled “Syntax”chart.point.now(price) → chart.pointParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| price | series int/float | The y-coordinate of the point. Optional. The default is close. |
Remarks
Section titled “Remarks”- The chart.point instance returned from this function records values for its index and time fields on the bar it executed on, making it suitable for use with drawing objects of any xloc type.