line.set_xy2() - Pine Script Function
line.set_xy2()
Section titled “line.set_xy2()”Overview
Section titled “Overview”Sets bar index/time and price of the second point
Syntax
Section titled “Syntax”line.set_xy2(id, x, y) → voidParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| id | series line | Line object. |