Skip to content
Algo Trade Analytics Docs

box.get_left() - Pine Script Function

Returns the bar index or the UNIX time (depending on the last value used for ‘xloc’) of the left border of the box.

box.get_left(id) → series int
NameTypeDescription
idseries boxA box object.

A bar index or a UNIX timestamp (in milliseconds).