Support Board
Date/Time: Thu, 13 Feb 2025 17:29:31 +0000
calculate the time period of the chart bar as an SCDateTime value
View Count: 646
[2020-12-19 13:34:33] |
User820318 - Posts: 40 |
How can I calculate the time period of the chart bar as an SCDateTime value? This is suggested here (ACSIL Programming Concepts: Determining if Last Chart Bar is Closed) but Im getting stuck with this. Say Im working with a 60 sec bar. I want to know how many seconds have elapsed of the current bar - e.g. 40s. Anyone have any tips? |
[2020-12-19 23:59:54] |
|
We know what you are looking for and this ACSIL function will be in the next release: sc.IsLastBarClosedBasedOnElapsedTime(const int ChartNumber) 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: