Login Page - Create Account

Support Board


Date/Time: Tue, 23 Apr 2024 07:09:13 +0000



[Programming Help] - How to set hidden chart time zone to match study chart

View Count: 801

[2022-01-07 15:28:09]
User660727 - Posts: 50
I am using OpenChartOrGetChartReference() to create a hidden chart. How can I set the hidden chart to match the time zone of the study chart?

I found the undocumented SetChartTimeZone() in the support forum (and .h file) but I don't see a matching GetChartTimeZone().
[2022-01-17 02:00:40]
User660727 - Posts: 50
No response? Really? Why bother having a support site?
[2022-01-17 11:52:52]
1+1=10 - Posts: 270
Did you chose “Programming Help” when you created this thread? If so, SC Support won’t respond.

If you just want the same time zone across all your charts in SC regardless of how you open them, then just change the Global time zone setting at:

“The global Time Zone settings are located in the Time Zone settings window, which can be accessed from the menu by selecting Global Settings >> Time Zone Settings on the main menu.”
[2022-04-15 17:20:43]
User660727 - Posts: 50
No, I did not flag this as "Programming Help". I submitted it as "Support", but it would appear it was recategorized by the support team.
[2022-04-18 13:25:08]
Sierra Chart Engineering - Posts: 104368
So you want to be able to specify the time zone for a chart that you you open with?:
sc.OpenChartOrGetChartReference()
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2022-04-18 13:25:19
[2022-04-19 14:43:12]
User660727 - Posts: 50
Yes, I'd like to be able to get and set the timezone of an attached chart. I'd also like to be able to get the timezone of the study chart so that I can set the attached chart timezone to match.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account