Skip to content
Algo Trade Analytics Docs

chart.point.new() - Pine Script Function

Creates a new chart.point object with the specified time, index, and price.

chart.point.new(time, index, price) → chart.point
NameTypeDescription
timeseries intThe x-coordinate of the point
expressedas a UNIX time value
inmilliseconds.
  • Whether a drawing object uses a point’s time or index field as an x-coordinate depends on the xloc type used in the function call that returned the drawing.