Support Board
Date/Time: Thu, 28 Nov 2024 03:51:30 +0000
How to find exact index match using Bar Ending Time in sc.GetNearestMatchForSCDateTime()
View Count: 320
[2023-06-05 01:42:46] |
pa_trader - Posts: 29 |
I'd like to line up a source and destination chart using the Bar Ending Time - using the sc.BaseDataEndDateTime[] Could you please give me some pointers regarding this. Thanks |
[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 |
To post a message in this thread, you need to log in with your Sierra Chart account: