Support Board
Date/Time: Wed, 25 Dec 2024 05:40:33 +0000
ACSIL: Use Date Range
View Count: 1802
[2015-05-28 23:08:51] |
QnReally - Posts: 181 |
Can you please add a way to set the chart's Use Date Range via ACSIL similar to sc.DaysToLoadInChart? I am trying to go through a replay of the charts by loading 3 or 4 years of data and any change I make such as drawing a VBP from Tools is taking a while to calculate studies while the replay is running or while it is stopped. If you are able to add this functionality I can just set the dates for the chart via ACSIL and minimize the data loaded by the charts. Thanks. |
[2015-06-01 19:12:23] |
QnReally - Posts: 181 |
If this request needs a lot work for the implementation, can it be added to your long-term queue please? Thanks.
|
[2015-06-29 20:14:47] |
QnReally - Posts: 181 |
Any chance this can be implemented? Thanks.
|
[2015-06-29 21:14:09] |
Sierra Chart Engineering - Posts: 104368 |
Yes we can do this.
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-08-17 21:39:53] |
QnReally - Posts: 181 |
Just checking back to see if this is already done or if you need more time. Thanks.
|
[2015-08-20 03:46:03] |
Sierra Chart Engineering - Posts: 104368 |
This is going to be added but we are not sure when it will be done.
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-10-02 23:49:22] |
QnReally - Posts: 181 |
Can you please add this to your queue. To summarize, I am looking for something like sc.StartDate and sc.EndDate to be available via ACSIL. Thanks.
|
[2015-10-05 08:01:01] |
Sierra Chart Engineering - Posts: 104368 |
Yes, this is on our list. We are going to be getting back to working on this soon. We will see if we can prioritize this particular item.
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: 2015-10-05 08:01:40
|
[2015-11-16 19:53:36] |
QnReally - Posts: 181 |
What is the best way to know when this is implemented? I was thinking that looking at the ACS_Source\sierrachart.h file towards the end of file for something similar to sc.StartDate would work. Thanks. |
[2015-11-17 02:02:49] |
Sierra Chart Engineering - Posts: 104368 |
We are doing this today. Thank you for your patience.
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-11-17 03:49:29] |
Sierra Chart Engineering - Posts: 104368 |
Added the following new ACSIL members: sc.LoadChartDataByDateRange; sc.ChartDataStartDate; sc.ChartDataEndDate; 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-11-19 02:26:56] |
QnReally - Posts: 181 |
The chart properties image is attached. Chart data dates are set to April of this year. The chart reloads as expected every 15 seconds based on the following study. However, it doesn't set the new dates as expected (the study uses dates 42314 and 43320 which are both in November). SCSFExport scsf_Test3(SCStudyInterfaceRef sc)
{ SCDateTime& lastLoad = sc.PersistVars->scdt1; if (sc.SetDefaults) { sc.GraphName = "Set Chart Dates"; sc.AutoLoop = 0; sc.FreeDLL = 0; sc.GraphRegion = 0; return; } if (sc.HideStudy) return; if (sc.DownloadingHistoricalData) return; if (sc.UpdateStartIndex == 0) { lastLoad = sc.CurrentSystemDateTime; } if ((sc.CurrentSystemDateTime - lastLoad) > 15 * SECONDS) { sc.ChartDataStartDate = 42314; sc.ChartDataEndDate = 42320; sc.LoadChartDataByDateRange = 1; sc.FlagToReloadChartData = 1; } } Your thoughts please. |
ChartProperties.png / V - Attached On 2015-11-19 02:20:22 UTC - Size: 52.57 KB - 410 views ChartReloadsEvery15Secs.png / V - Attached On 2015-11-19 02:20:29 UTC - Size: 14.35 KB - 336 views |
[2015-11-19 03:13:04] |
QnReally - Posts: 181 |
No difference in behavior if I change the last "if" block to as follows: if ((sc.CurrentSystemDateTime - lastLoad) > 15 * SECONDS) {
sc.ChartDataStartDate = 42314; sc.ChartDataEndDate = 42320; // sc.LoadChartDataByDateRange = 1; // sc.FlagToReloadChartData = 1; } It still reloads every 15 seconds but the dates don't change to the November dates. |
[2015-11-19 04:31:26] |
Sierra Chart Engineering - Posts: 104368 |
We tested this block of code and it worked just fine: if (sc.Index == 0) { sc.ChartDataStartDate = 42314; sc.ChartDataEndDate = 42320; sc.LoadChartDataByDateRange = 1; } 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-11-19 13:47:09] |
QnReally - Posts: 181 |
Okay, now I tested with a brand new chart with just this study. It worked as you indicated. Then I added a volume study to this chart. It stopped working. Finally, I moved my setting dates study to the bottom in the list of studies and the chart worked as expected. I am suspecting something is off when the study is not the last one in the list of studies. Thanks. |
[2015-11-19 15:33:46] |
Sierra Chart Engineering - Posts: 104368 |
OK we understand the reason for the problem. We will fix this.
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: