Types
string
A piece of text, written between double quotes: `"length"`. Titles, messages and instrument details are strings. The `str` namespace holds the functions that work on them. No fields.
Example
//@lipi=2
indicator("string Example", overlay=true)
string trend = close > talib.sma(close, 20) ? "Up" : "Down"
if barstate.islast {
label.new(bar_index, high, text="Trend: " + trend)
}