Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.syminfo.country
On this pageSignatureReturnsExample

Metadata / Reference

alerta.syminfo.country

TradingView-compatible spelling: syminfo.country, runs without warnings

Two-letter ISO country of the symbol's listing ("US", "TR", "DE") on stock and index charts; an empty string for crypto, forex and macro series.

alerta.syminfo.country → string

Returns

string

Example

alerta.syminfo.country
indicator("Country", overlay=true)drawTable("c", 0, 0, "Listed in: " + syminfo.country, { position: "top_right" })

Names and aliases

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

AlertaScript

No results found.

Search by name, alias, or keyword.