Support Board
Date/Time: Sun, 22 Dec 2024 05:39:36 +0000
Real Time or Historic Bar / Tick
View Count: 1147
[2015-05-18 21:29:28] |
User99735 - Posts: 234 |
Hi, Is there a sc function available to check if the current bar / price tick is historic or real time? Regards Vivek |
[2015-05-18 22:53:48] |
Sierra Chart Engineering - Posts: 104368 |
The current bar can consist of historical and/or real-time data. And there is not any way to programmatically determine 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-06-11 12:25:55] |
User595080 - Posts: 1 |
Hi, Thanks for your response. In my strategy there is a requirement to open an entry at the first 'real time' tick when the strategy is attached to a chart ( during market hrs ). Any suggestion for detecting the 'real time' tick and opening the order? Regards Vivek |
[2015-06-11 18:59:47] |
Sierra Chart Engineering - Posts: 104368 |
Not sure we understand the details of this. There is this ACSIL member which may help: https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Functions.html#scChartIsDownloadingHistoricalData 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-07-28 20:49:06] |
User99735 - Posts: 234 |
Hi, a) I have a strategy wherein I want to open a trade as soon as I open the chartbook ( with the strategy set up in studies tab ). In this scenario the flag sc.ChartIsDownloadingHistoricalData(sc.ChartNumber) works fine, and returns false when the download of historical data is complete. b) However if I set the flag to open the chartbook whenever SierraCharts is booted up, the above mentioned scenario fails, with thee trade being opened as soon as connection to data feed is opened and before historical data is downloaded. This is resulting in messed up trades. See enclosed screenshot of the message log. Please suggest a workaround / fix for this issue. Regards Vivek |
[2015-07-29 03:40:22] |
Sierra Chart Engineering - Posts: 104368 |
You can check the data feed connection status with this ACSIL member variable: https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scServerConnectionState However, still there is going to be the time when the connection to the data feed completes and before the chart downloads historical data. We have to think about a solution to 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-07-29 09:10:54] |
Sierra Chart Engineering - Posts: 104368 |
We are adding this new ACSIL variable: sc.IntradayChartRecordingState It is documented here: https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html It will be out in the next release. 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-07-29 09:11:05
|
To post a message in this thread, you need to log in with your Sierra Chart account: