Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 06:33:23 +0000



New bar created before time elapses

View Count: 1043

[2014-07-28 23:43:32]
onnb - Posts: 662
hi, I have code that prints sc.CurrentSystemDateTime to a log file on bar close using sc.GetBarHasClosedStatus. I am using 5 min bars. I see that sometimes I get a print of a time like 11:59:57 seconds (i.e., before the bar should theoretically close). I am guessing that this is because timestamps are coming in with a time that is future relative to my computer clock and so SC creates a new bar thus closing the current bar?
[2014-07-28 23:46:02]
Sierra Chart Engineering - Posts: 104368
Yes. This is a logical conclusion.


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:

Login

Login Page - Create Account