Constants
text.align_center
Text alignment constant that centers text horizontally or vertically in the container.
Example
//@lipi=2
indicator("text.align_center Example", overlay=true)
if barstate.islast {
t = table.new(position.top_right, 1, 1, bgcolor=color.gray)
table.cell(t, 0, 0, text="Close", width=10, height=5, text_halign=text.align_center, text_color=color.white)
}
Type
const string