Documentation/AlgoCode/Function reference
timezone
The one script timezone for every calendar boundary.
timezone "Asia/Kolkata"
This is the one Dovee script timezone. It sets the session clock, the opening range, hour / minute / weekday, the calendar day, the Monday week, the calendar month, previous and developing period levels, on 1D / on 1W / on 1M, the max daily loss day, and daily backtest Sharpe buckets. A timezone line wins over the host. Chart Run passes Asia/Kolkata when the script has no timezone line. If the host also omits a zone, the engine uses UTC. Bar timestamps stay as stored. Alias: tz "Asia/Kolkata".
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