Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.strategy.account_currency
On this pageSignatureReturnsExample

Strategy / Reference

alerta.strategy.account_currency

TradingView-compatible spelling: strategy.account_currency, runs without warnings

Returns the account currency of strategy equity and P&L: the strategy() currency, or the symbol's own currency when it is currency.NONE (the default) — e.g. "USDT" on BTCUSDT.

alerta.strategy.account_currency → string

Returns

string

Example

alerta.strategy.account_currency
strategy("Currency Label", overlay=true)drawTable("cur", 0, 0, strategy.account_currency, { 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.