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
box.delete#
runs
box.delete(id: any)The box deleted
id | any | required |
box.get_bottom#
runs
box.get_bottom(id: any) → floatReads the box
id | any | required |
box.get_left#
runs
box.get_left(id: any) → intReads the box
id | any | required |
box.get_right#
runs
box.get_right(id: any) → intReads the box
id | any | required |
box.get_top#
runs
box.get_top(id: any) → floatReads the box
id | any | required |
box.new#
runs — Bentrix's own convention
box.new(left: num, top: num, right: num, bottom: num, border_color: color?, border_width: num?, border_style: string?, extend: string?, xloc: string?, bgcolor: color?, text: any?, text_size: string?, text_color: color?, text_halign: string?, text_valign: string?, text_wrap: string?, text_font_family: string?, force_overlay: bool?) → boxDrawn by Bentrix in the study's own pane, from its x (a bar index, or a time with xloc.bar_time) and price
left | num | required |
top | num | required |
right | num | required |
bottom | num | required |
border_color | color | optional |
border_width | num | optional |
border_style | string | optional |
extend | string | optional |
xloc | string | optional |
bgcolor | color | optional |
text | any | optional |
text_size | string | optional |
text_color | color | optional |
text_halign | string | optional |
text_valign | string | optional |
text_wrap | string | optional |
text_font_family | string | optional |
force_overlay | bool | optional |
box.set_bgcolor#
runs
box.set_bgcolor(id: any, color: color)Changes the box
id | any | required |
color | color | required |
box.set_border_color#
runs
box.set_border_color(id: any, color: color)Changes the box
id | any | required |
color | color | required |
box.set_border_width#
runs
box.set_border_width(id: any, width: num)Changes the box
id | any | required |
width | num | required |
box.set_bottom#
runs
box.set_bottom(id: any, bottom: num)Changes the box
id | any | required |
bottom | num | required |
box.set_extend#
runs
box.set_extend(id: any, extend: string)Changes the box
id | any | required |
extend | string | required |
box.set_left#
runs
box.set_left(id: any, left: num)Changes the box
id | any | required |
left | num | required |
box.set_lefttop#
runs
box.set_lefttop(id: any, left: num, top: num)Changes the box
id | any | required |
left | num | required |
top | num | required |
box.set_right#
runs
box.set_right(id: any, right: num)Changes the box
id | any | required |
right | num | required |
box.set_rightbottom#
runs
box.set_rightbottom(id: any, right: num, bottom: num)Changes the box
id | any | required |
right | num | required |
bottom | num | required |
box.set_text#
runs
box.set_text(id: any, text: any)Changes the box
id | any | required |
text | any | required |
box.set_text_color#
runs
box.set_text_color(id: any, color: color)Changes the box
id | any | required |
color | color | required |
box.set_top#
runs
box.set_top(id: any, top: num)Changes the box
id | any | required |
top | num | required |
Families
box.*#
not yet
Drawn through Bentrix's objects in the study's pane; until then the call runs as a no-op and is said