Syntax
Public Function LastVisibleBar (chartIndex As Integer) As Long
Description
This function is used to return the index of the last 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 last visible bar in the chart window as a value of type long.
Sample
Public Sub main() Dim result result= lastVisibleBar (0) AlertMessage result End Sub
See Also