Support Board
Date/Time: Wed, 12 Feb 2025 18:14:58 +0000
Time Zone in ACSIL
View Count: 1280
[2019-07-31 20:47:14] |
kas64h - Posts: 87 |
Hello, Is there a way of getting the Chart (or Global) time zone through ACSIL, and/or detecting a change in time zone? I read in your response to the post 'Add parameter TimeZone to Time Line study', that 'ACSIL does have functions to do time zone conversions', so I'm guessing there's something, but I can't see what it is. I'm aware of the ACSIL Chart Session Times variables and functions, but can't see anything relating to time zones. Thanks |
[2019-07-31 21:32:36] |
Ackin - Posts: 1865 |
check this: sc.ConvertDateTimeFromChartTimeZone() |
[2019-08-01 08:52:37] |
|
Yes see if that function helps. Also refer to: sc.ConvertDateTimeToChartTimeZone() 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: 2019-08-01 08:52:51
|
[2020-10-09 04:03:52] |
User100912 - Posts: 104 |
Could you expose the Chart Time Zone setting to ACSIL please? Use case: tracking Frankfurt, London, New York, Chicago instruments. For convienience all instruments can be displayed on the same chart. Time Zone Setting: Resolving Differences with the Transition To/From Daylight Savings Time in Different Time Zones you must set either the Time Zone in the chart if you are using the chart specific Time Zone setting, or the Global Time Zone to the same time zone of the exchange where the symbol trades
Neither sc.ConvertDateTimeFromChartTimeZone() or sc.ConvertDateTimeToChartTimeZone() seem to do what I need, which is to control the chart's time zone directly from ACSIL. (I've an ACSIL study which reads the instrument symbol and then sets paramters accordingly, and I'd like timezone to be one of those parameters.) |
[2020-11-05 20:06:08] |
|
This function will be added to the next Sierra Chart release: sc.SetChartTimeZone (const int ChartNumber, const TimeZonesEnum TimeZone);
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: 2020-11-05 20:06:25
|
To post a message in this thread, you need to log in with your Sierra Chart account: