Support Board
Date/Time: Sun, 22 Dec 2024 21:09:48 +0000
Control session start and end times programatically?
View Count: 1258
[2013-12-28 07:49:54] |
T44 - Posts: 363 |
The sc.SessionStartTime() function gets the start of the day in Intraday charts which is based on the Session Times set in Chart >> Chart Settings .
I'd like to be able to change the start and end time of a chart from within a study. Is this currently possible? (Potential use case: hard coding the regular session times for each symbol into a study, using a substring comparison to match symbol root, therefore being able to cycle through a regular session only chart for symbols with varying regular sessions. Additionally, to use sc.IsDateTimeInDaySession() to show regular session only during regular session, and out of hours data when out of hours). |
[2013-12-28 21:29:15] |
Sierra Chart Engineering - Posts: 104368 |
Changing the Session Times from an ACSIL study will be supported in version 1067.
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 |
[2015-01-22 19:43:03] |
ejtrader - Posts: 688 |
SC Team - Picking up an old thread as trying to define the start time for the chart through ACSIL and the release notes are not available for this. Wondering - Which function is used for this and the syntax to use it? Edit - Never mind - Usage: sc.StartTime1 = 600; Thanks Date Time Of Last Edit: 2015-01-22 19:48:51
|
To post a message in this thread, you need to log in with your Sierra Chart account: