label.set_x() - Pine Script Function
label.set_x()
Section titled “label.set_x()”Overview
Section titled “Overview”Sets bar index or bar time (depending on the xloc) of the label position.
Syntax
Section titled “Syntax”label.set_x(id, x) → voidParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| id | series label | Label object. |