Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 05:37:19 +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: 17199
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