Skip to content
Algo Trade Analytics Docs

box.set_extend() - Pine Script Function

Sets extending type of the border of this box object. When extend.none is used, the horizontal borders start at the left border and end at the right border. With extend.left or extend.right, the horizontal borders are extended indefinitely to the left or right of the box, respectively. With extend.both, the horizontal borders are extended on both sides.

box.set_extend(id, extend) → void
NameTypeDescription
idseries boxA box object.