Variables
syminfo.asset_type
Returns the type of the asset for the current symbol
Example
indicator(title="Asset Type", overlay=true)
assetType = syminfo.asset_type
colorType = assetType == "EQUITY" ? color.blue : assetType == "CRYPTO" ? color.red : color.gray
plot(close, color=colorType)
Type
simple string