Skip to content
Algo Trade Analytics Docs

box.set_xloc() - Pine Script Function

Sets the left and right borders of a box and updates its xloc property.

box.set_xloc(id, left, right, xloc) → void
NameTypeDescription
idseries boxThe ID of the box object to update.