PINE LIBRARY

TimeZoneLib

37
Library "Timezone"
Library with pre-defined timezone enums that can be used to request a timezone input from the user.
The library provides a `tostring()` function to convert enum values to a valid string that can be used as a `timezone` parameter in pine script built-in functions.
The library also includes a bonus function to get a formatted UTC offset from a UNIX timestamp.

The timezone enums in this library were compiled by referencing the available timezone options from TradingView chart settings
as well as multiple Wikipedia articles relating to lists of time zones: en.wikipedia.org/wiki/Lists_of_time_zones

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.