Support Board
Date/Time: Tue, 20 Oct 2026 16:39:04 +0000
Post From: ACSIL — Positioning a historical bar at a specified horizontal chart location
| [2026-10-20 14:16:26] |
| John - SC Support - Posts: 48271 |
|
Is there a supported ACSIL method to position a specified historical bar at a particular horizontal location within the chart viewport?
No. Can sc.ScrollToDateTime be combined with another supported function to achieve this?
You would need to scroll to the bar that is forward from the one you want by the amount you want. You could do this by determining the number of bars that make up the chart at that time using the "sc.IndexOfFirstVisibleBar" and "sc.IndexOfLastVisibleBar" and then determining how many indices you need to be forward and then use that Date/Time to scroll the chart to. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
