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

Metadata / Reference

alerta.syminfo.timezone

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

Returns the timezone of the current symbol's exchange: "UTC" for crypto, "America/New_York" for US stocks, forex and US indices, "Europe/Istanbul" for Borsa Istanbul. It is also the default clock of hour(), dayofweek(), timestamp() and time() with a session.

alerta.syminfo.timezone → string

Returns

string

Example

alerta.syminfo.timezone
indicator("Symbol Info", overlay=true)drawTable("tz", 0, 0, "TZ: " + syminfo.timezone, { position: "top_left" })

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.