Lipi Reference Lipi

Variables

syminfo.symbol

Returns the symbol of the instrument currently displayed on the chart as a string

Example


          indicator(title="Symbol Display", overlay=true)
assetSymbol = syminfo.symbol
plotColor = assetSymbol == "AAPL" ? color.green : assetSymbol == "TSLA" ? color.red : color.blue
plot(close, title="Price", color=plotColor)
        

Type

simple string