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 intReturns
series intExample
time_tradingday
isFridaySession = dayofweek(time_tradingday) == 6Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.