Syntax
Public Function FirstVisibleBar (chartIndex As Integer) As Long
Description
This function is used to get an indexof thefirst visible bar in the chart.
Parameters
Key | Description |
chartIndex |
The chart position on the chart windows. 0 mean current chart, a value of type Integer. |
Return value
Returns the index of the first visible bar in the chart window as a value of type Long
Sample
Public Sub main() Dim result result= FirstVisibleBar (0) AlertMessage result End Sub
See Also