Login Page - Create Account

Support Board


Date/Time: Fri, 18 Jul 2025 17:25:46 +0000



Post From: How to find exact index match using Bar Ending Time in sc.GetNearestMatchForSCDateTime()

[2023-06-05 08:44:46]
Sierra_Chart Engineering - Posts: 20228
Functions like:
sc.GetNearestMatchForSCDateTime()

Use the bar starting time. You can still use these functions. Use the returned bar index, into the sc.BaseDataEndDateTime[] array and increment or decrement until you find the exact or nearest match.
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