Support Board
Date/Time: Sat, 23 Nov 2024 11:34:10 +0000
ACSIL return the index of the last bar on the chart?
View Count: 2476
[2013-06-24 03:04:08] |
maxpi - Posts: 181 |
As I scroll through a chart I'd like a script to know the index of the bar on the right edge of the screen. Is there a way for ACSIL to report that? I guess I can do this via mouse events but it could be more convenient were it direct.
|
[2013-06-24 04:14:44] |
ejtrader - Posts: 688 |
maxpi - you can use - sc.IndexOfLastVisibleBar
|
[2013-06-24 07:10:23] |
Sierra Chart Engineering - Posts: 104368 |
You can use sc.IndexOfLastVisibleBar , but the study functions on the chart are not going to be called as you are scrolling through a chart. You could set sc.UpdateAlways= 1 to cause a study function to be called. 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 |
To post a message in this thread, you need to log in with your Sierra Chart account: