line.set_x2() - Pine Script Function
line.set_x2()
Section titled “line.set_x2()”Overview
Section titled “Overview”Sets bar index or bar time (depending on the xloc) of the second point.
Syntax
Section titled “Syntax”line.set_x2(id, x) → voidParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| id | series line | Line object. |