Support Board
Date/Time: Sun, 12 Jan 2025 23:30:18 +0000
Open 2 DAYS historical chart
View Count: 1006
[2017-03-21 12:29:39] |
GmA - Posts: 20 |
Hello Support Board! Is there any possibility to open 2,3,4 Days Historical chart using sc.OpenChartOrGetChartReference function? If yes, could you please clarify what is the parameter to set the number of days. If not, any plans to implement it and if "yes" then when Thank you very much and With kind regards GmA |
[2017-03-21 17:58:38] |
Sierra Chart Engineering - Posts: 104368 |
Yes you can and this is documented here: sc.OpenChartOrGetChartReference() There is a parameter to control the number of days to load. 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 |
[2017-03-22 00:53:14] |
GmA - Posts: 20 |
Hello Support Board! Very sorry, but I've read the description prior to submitting the request and double checked it again after your reply. On my understanding, as well as from the examples in studies.cpp to open historical daily chart I need to set: s_ACSOpenChartParameters OpenChartParameters; OpenChartParameters.Symbol = sc.GetRealTimeSymbol(); OpenChartParameters.ChartDataType = DAILY_DATA; OpenChartParameters.HistoricalChartBarPeriod = HISTORICAL_CHART_PERIOD_DAYS; ... Could you please clarify it Thank you in advance and With kind regards GmA |
[2017-03-22 02:16:36] |
Sierra Chart Engineering - Posts: 104368 |
This is from the documentation: DaysToLoad: This sets the number of days of data that will be loaded into the chart whether it is a Historical Daily chart or an Intraday chart. If this value is left at 0, then the Chart >> Chart Settings >> Use Number of Days to Load >> Days to Load setting of the calling chart is used.
OpenChartParameters.DaysToLoad = 2; 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 |
[2017-03-22 11:42:43] |
GmA - Posts: 20 |
Hello Support Board! Sorry again, but I am not asking about loading 2 days of quotes into 1 Day chart. I was asking about possibility to open programmably 2-Days chart where 1 bar represents two days of price action. In SierraChart, using "Chart Settings" dialog box, "Historical Chart Bar Period "Days" and value 2 in the text box on a right side from "Days", you are able to open 2-Day Historical Chart. Can I open similar chart using sc.OpenChartOrGetChartReference function? If yes, could you please clarify what is the parameter to set the number of days (what is a Day's multiplier and not number of days to load). If it is not possible, do you have any plans to implement it and if such plans exist then when that will become possible. Thank you in advance and With kind regards GmA |
[2017-03-22 17:28:56] |
Sierra Chart Engineering - Posts: 104368 |
OK we understand now. We will have to add a new member variable for 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 |
[2017-03-23 09:42:09] |
GmA - Posts: 20 |
Hello Support Board Any estimations when that functionality could be implemented? Thank you in advance and With kind regards GmA |
[2017-03-23 09:45:38] |
Sierra Chart Engineering - Posts: 104368 |
We are working on this now. Will be out tomorrow.
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 |
[2017-03-23 17:47:51] |
Sierra Chart Engineering - Posts: 104368 |
Update to the latest prerelease. The new structure member is: s_ACSOpenChartParameters::HistoricalChartBarPeriodLengthInDays 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: 2017-03-23 17:48:27
|
To post a message in this thread, you need to log in with your Sierra Chart account: