Skip to content

xloc

Properties

bar_index

Type: const string

A constant that specifies how functions that create and modify Pine drawings interpret x-coordinates.

If xloc = xloc.bar_index, the drawing object treats each x-coordinate as a bar_index value.


bar_time

Type: const string

A constant that specifies how functions that create and modify Pine drawings interpret x-coordinates.

If xloc = xloc.bar_time, the drawing object treats each x-coordinate as a UNIX timestamp, expressed in milliseconds.

Released under the MIT License.