runs as written · runs with Bentrix's own convention, said in its note · refused by name, the note says what Bentrix lacks · not yet built.
Functions
label.delete#
runs
label.delete(id: any)The label deleted
id | any | required |
label.get_text#
runs
label.get_text(id: any) → stringReads the label
id | any | required |
label.get_x#
runs
label.get_x(id: any) → intReads the label
id | any | required |
label.get_y#
runs
label.get_y(id: any) → floatReads the label
id | any | required |
label.new#
runs — Bentrix's own convention
label.new(x: num, y: num, text: any?, xloc: string?, yloc: string?, color: color?, style: string?, textcolor: color?, size: string?, textalign: string?, tooltip: any?, text_font_family: string?, force_overlay: bool?) → labelDrawn by Bentrix in the study's own pane, from its x (a bar index, or a time with xloc.bar_time) and price
x | num | required |
y | num | required |
text | any | optional |
xloc | string | optional |
yloc | string | optional |
color | color | optional |
style | string | optional |
textcolor | color | optional |
size | string | optional |
textalign | string | optional |
tooltip | any | optional |
text_font_family | string | optional |
force_overlay | bool | optional |
label.set_color#
runs
label.set_color(id: any, color: color)Changes the label
id | any | required |
color | color | required |
label.set_size#
runs
label.set_size(id: any, size: string)Changes the label
id | any | required |
size | string | required |
label.set_style#
runs
label.set_style(id: any, style: string)Changes the label
id | any | required |
style | string | required |
label.set_text#
runs
label.set_text(id: any, text: any)Changes the label
id | any | required |
text | any | required |
label.set_textcolor#
runs
label.set_textcolor(id: any, textcolor: color)Changes the label
id | any | required |
textcolor | color | required |
label.set_tooltip#
runs
label.set_tooltip(id: any, tooltip: any)Changes the label
id | any | required |
tooltip | any | required |
label.set_x#
runs
label.set_x(id: any, x: num)Changes the label
id | any | required |
x | num | required |
label.set_xy#
runs
label.set_xy(id: any, x: num, y: num)Changes the label
id | any | required |
x | num | required |
y | num | required |
label.set_y#
runs
label.set_y(id: any, y: num)Changes the label
id | any | required |
y | num | required |
label.set_yloc#
runs
label.set_yloc(id: any, yloc: string)Changes the label
id | any | required |
yloc | string | required |
Constants
label.style_*#
runs
A label's styles
Families
label.*#
not yet
Drawn through Bentrix's objects in the study's pane; until then the call runs as a no-op and is said