Variables
syminfo.ticker
Returns the ticker info. for the current symbol as a string
Example
indicator(title="Ticker Example", overlay=true)
assetTicker = syminfo.ticker
plotColor = assetTicker == "US:SPOT:AAPL" ? color.green : assetTicker == "US:SPOT:TSLA" ? color.red : color.blue
plot(close, title="Price", color=plotColor)
Type
simple string