Lipi Reference
Lipi

Constants

text.align_right

Horizontal text alignment constant that aligns text to the right of the container.

Example


          //@lipi=2
indicator("text.align_right 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_right, text_color=color.white)
}
        

Type

const string