Constants
yloc.abovebar
Vertical text alignment constant that places a label above the bar.
Example
//@lipi=2
indicator("yloc.abovebar Example", overlay=true)
if barstate.islast {
// The y value is ignored: the label sits above the bar
label.new(bar_index, na, text="Above", yloc=yloc.abovebar, style=label.style_label_down)
}
Type
const string