Functions
box.set_bottom()
Sets a box's bottom price.
Syntax
box.set_bottom(series box id, series float bottom) → void
Arguments
id required series box Drawing object to modify or query. bottom required series float Bottom price of the box. Return Type
void Example
//@lipi=2
indicator("box.set_bottom Example", overlay=true)
if barstate.islast {
b = box.new(bar_index[10], high, bar_index, low, bgcolor=color.new(color.blue, 0.8))
box.set_bottom(b, low)
}