Skip to content
Algo Trade Analytics Docs

line.set_x2() - Pine Script Function

Sets bar index or bar time (depending on the xloc) of the second point.

line.set_x2(id, x) → void
NameTypeDescription
idseries lineLine object.