Skip to content
AlertaChartAlertaScript / docs
AlertaScript / time_tradingday
On this pageSignatureReturnsExample

Time / Reference

time_tradingday

TradingView-compatible spelling: time_tradingday, runs without warnings

Pine v6: UNIX timestamp of 00:00 UTC of the trading day the current bar belongs to. Useful for overnight sessions where the bar may open on the previous calendar day.

time_tradingday → series int

Returns

series int

Example

time_tradingday
isFridaySession = dayofweek(time_tradingday) == 6

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.