Appearance
Location
Kind: module
Namespace: location
Placement constants that determine how a drawing is anchored vertically relatively to the current bar, to the chart pane, or to an explicit price.
location.ABOVE_BAR
Kind: constant
Value: ABOVE_BAR
Places the shape above the bar's high.
location.BELOW_BAR
Kind: constant
Value: BELOW_BAR
Places the shape below the bar's low.
location.TOP
Kind: constant
Value: TOP
Places the shape at the top of the visible pane, independent of price.
location.BOTTOM
Kind: constant
Value: BOTTOM
Places the shape at the bottom of the visible pane, independent of price.
location.ABSOLUTE
Kind: constant
Value: ABSOLUTE
Places the drawing at an explicit y coordinate (price value). Use this when the vertical position is a specific price rather than being anchored to a bar or the pane.