Variables
syminfo.timezone
Timezone of the exchange of the chart main series. Possible values see in timestamp.
Example
indicator(title="Timezone Example", overlay=true)
bgColor = syminfo.timezone == "America/New_York" ? color.new(color.blue, 0.2) : syminfo.timezone == "Asia/Kolkata" ? color.new(color.red, 0.2) : syminfo.timezone == "UTC" ? color.new(color.orange, 0.2) : color.new(color.gray, 0.2)
bgcolor(bgColor)
Type
simple string