Login Page - Create Account

Support Board


Date/Time: Mon, 13 Jan 2025 09:48:39 +0000



First/Lsat visible bar on chart

View Count: 833

[2017-04-13 11:27:53]
User132748 - Posts: 159
Hi,

Is there any possibility to obtain current first and last bar number that is currently visible on chart, same as for high/low with sc.GetMainGraphVisibleHighAndLow() function?

BR
[2017-04-13 16:24:43]
Sierra Chart - Max - Posts: 5778
You will want to use sc.IndexOfFirstVisibleBar and sc.IndexOfLastVisibleBar:

ACSIL Interface Members - Variables and Arrays: sc.IndexOfFirstVisibleBar

ACSIL Interface Members - Variables and Arrays: sc.IndexOfLastVisibleBar
Sierra Chart Support

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account