Support Board
Date/Time: Tue, 07 Apr 2026 22:14:53 +0000
ACSIL: Merged TPO Profile Day Count
View Count: 170
| [2026-02-19 02:46:10] |
| User688525 - Posts: 394 |
|
Hello Sierra Chart, How can I extract the number of days (and dates) from a merged TPO profile. Using m_StartDateTime and m_EndDateTime provides the beginning and end, but if the profile spans 4 days for example, but spans over a weekend, based on the date count this would be a 6 or 7 day balance. When hovering over an expanded profile (Letters/Blocks In Own Columms), all of the profile dates within a merged profile display. How can I extract this with ACSIL? Thank you |
| [2026-02-19 13:53:22] |
| John - SC Support - Posts: 45527 |
|
We assume you are referring to trading dates rather than calendar dates. In this case, the information is not there. The only items you have are the start and end dates, so you would have to calculate the actual trading dates from that. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
| [2026-02-19 17:35:34] |
| User688525 - Posts: 394 |
|
Hi John, Yes, trading days, not calendar days. Based on the information not being available, would the only solution be to hardcode a weekend-exclusion calculation? Also, if sc.AddDateToExclude adds an exclusion date, what function retrieves excluded dates? |
| [2026-02-19 18:45:20] |
| John - SC Support - Posts: 45527 |
|
Based on the information not being available, would the only solution be to hardcode a weekend-exclusion calculation?
Yes, this is what you would need to do. Also, if sc.AddDateToExclude adds an exclusion date, what function retrieves excluded dates?
There is not a function to retrieve the dates that have been added as exclusions. You could use something like the following function to determine if there is data for a certain day and determine your trading days from that: ACSIL Interface Members - Functions: sc.IsSufficientTimePeriodInDate() For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
| [2026-02-19 22:40:37] |
| User688525 - Posts: 394 |
|
Thank you
|
To post a message in this thread, you need to log in with your Sierra Chart account:
