Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 18:18:46 +0000



sc.IsNewTradingDay( anyBarIdx ) rewrites sc.BaseDateTimeIn[anyBarIdx] to SessionStartTime

View Count: 696

[2021-12-28 19:00:56]
1+1=10 - Posts: 270
Hi SC Support,

I'm a huge fan of SC. I've been a user for a countless number of years and have implemented countless custom studies. I've even recently switched to using your fantastic DTC protocol w/ SC as the server for quicker execution.

Anyway, I believe one of the recent SC updates -- I'm on Version 2339 -- is causing calls to 'sc.IsNewTradingDay( anyBarIdx )' to rewrite anyBarIdx's sc.BaseDateTimeIn[ anyBarIdx ].

Perhaps this is associated with 2337's changelog statement: "Corrected an issue from a recent release where .5 second of data was being filtered out from the chart bar which would end at the Session End Time."

Let me know if I can send any more information that would help?

Gil
[2021-12-29 12:52:06]
Sierra_Chart Engineering - Posts: 18651
We looked at this function. It does not modify any members or arrays. And we have also set it to be a const function, which is not necessary.

You need to examine your own code for the issue.

Thank you for this:

I'm a huge fan of SC. I've been a user for a countless number of years and have implemented countless custom studies. I've even recently switched to using your fantastic DTC protocol w/ SC as the server for quicker execution.

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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2021-12-29 12:53:09

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account