syminfo.prefix - Pine Script Variable
syminfo.prefix
Section titled “syminfo.prefix”Overview
Section titled “Overview”Prefix of current symbol name (i.e. for ‘CME_EOD:TICKER’ prefix is ‘CME_EOD’).
stringQualifier
Section titled “Qualifier”simple
Examples
Section titled “Examples”Example 1
Section titled “Example 1”//@version=6indicator("syminfo.prefix")// If current chart symbol is 'BATS:MSFT' then syminfo.prefix is 'BATS'.if barstate.islastconfirmedhistorylabel.new(bar_index, high, text=syminfo.prefix)