Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 14:44:57 +0000



Post From: Can you add support for milliseconds for sc.GetContainingIndexForSCDateTime

[2023-08-24 03:45:46]
Sierra_Chart Engineering - Posts: 17195
This is wrong:


int CurrentBarDate = sc.BaseDateTimeIn[sc.Index].GetDate();
int CurrentBarTime = sc.BaseDateTimeIn[sc.Index].GetTimeInMilliseconds();

SCDateTime DateTime(CurrentBarDate ,CurrentBarTime );

It needs to be:



SCDateTime DateTime=sc.BaseDateTimeIn[sc.Index] ;

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