Support Board
Date/Time: Thu, 26 Dec 2024 01:41:29 +0000
Post From: Referencing data using sc.GetExactMatchForSCDateTime
[2015-11-24 19:08:12] |
Sierra Chart Engineering - Posts: 104368 |
What we meant is there actually an exact match where -1 is returned? As we said, this is the question we cannot answer. Here is the actual code: int GetExactMatchForSCDateTime(int ChartNumber, const SCDateTime& DateTime)
{ int Index = GetContainingIndexForSCDateTime(ChartNumber, DateTime); SCDateTimeArray ChartDateTimeArray; GetChartDateTimeArray(ChartNumber, ChartDateTimeArray); if (ChartDateTimeArray[Index] == DateTime) return Index; else return -1; } 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 Date Time Of Last Edit: 2015-11-25 05:56:47
|