Knowledgebase:
LastVisibleBar
Posted by Angham Al-Banawien, Last modified by Rawan Al Hourani on 11 July 2018 08:58 AM


Syntax

 Public Function LastVisibleBar (chartIndex As Integer) As Long 

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

 

Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions