Functions
box.get_left()
Returns the left x-coordinate of a box.
Syntax
box.get_left(series box id) → series int
Arguments
id required series box Drawing object to modify or query. Return Type
series int Example
//@lipi=2
indicator("box.get_left Example", overlay=true)
static box b = box(na)
if barstate.islast {
b := box.new(bar_index[10], high, bar_index, low, bgcolor=color.new(color.blue, 0.8))
}
plot(na(b) ? na : box.get_left(b))