Support Board
Date/Time: Mon, 20 Jan 2025 13:48:05 +0000
sc.GetTradingDayStartDateTimeOfBar with ChartNumber
View Count: 1468
[2018-05-30 20:05:26] |
User99735 - Posts: 234 |
Hi, Was looking for a function to find the first bar of session, in an 'external' chart. sc.GetTradingDayStartDateTimeOfBar, will do the same for current chart. There is no 'ForChartNumber' version of this function. Can you suggest a workaround or provide a 'ForChartNumber' version of sc.GetTradingDayStartDateTimeOfBar? Regards Vivek |
[2018-05-30 20:15:55] |
@sstfrederik - Posts: 405 |
You can likely use: sc.GetChartDateTimeArray() and than use sc.GetTradingDayStartDateTimeOfBar on that timearray. |
[2018-05-30 20:38:01] |
User99735 - Posts: 234 |
sc.GetTradingDayStartDateTimeOfBar will give the session start/end as per the current chart settings, I believe. This will not work if the "external" chart has a different session start/end. |
[2018-05-31 04:38:14] |
@sstfrederik - Posts: 405 |
Correct. My suggestion will not work.
Date Time Of Last Edit: 2018-05-31 09:05:34
|
[2018-06-07 12:44:52] |
User99735 - Posts: 234 |
Thanks, so can you provide the requested function - a 'ForChartNumber' version of sc.GetTradingDayStartDateTimeOfBar. Have a customer waiting for a study based on the requested functionality. |
[2018-06-11 14:46:19] |
User99735 - Posts: 234 |
Hi, Any update on this? Regards Vivek |
[2018-06-11 17:18:17] |
Sierra Chart Engineering - Posts: 104368 |
Okay we will add this for you.
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 |
[2018-06-12 05:38:36] |
Sierra Chart Engineering - Posts: 104368 |
This has been added to version 1764 which will be releasing in about 20 minutes.
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 |
[2018-06-12 05:38:37] |
Sierra Chart Engineering - Posts: 104368 |
This has been added to version 1764 which will be releasing in about 20 minutes.
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 |
To post a message in this thread, you need to log in with your Sierra Chart account: