timezone
IANA timezone for session, hour, weekday, and period levels.
timezone "Asia/Kolkata"
Without this statement, session / hour / minute / weekday use the browser local clock, and previous day / week / month use UTC calendar keys. Set an exchange timezone so 9:15 and previous day high match the market you trade. Alias: tz "Asia/Kolkata". Charting.in Run also defaults the evaluator to Asia/Kolkata when no script timezone is set.
Return value
—
Also accepted: tz.
Example
timezone "Asia/Kolkata" session 9:15 to 15:30 pdh = previous day high when close crosses above pdh buy