GetChartPeriod
Posted by Angham Al-Banawien, Last modified by Diana Alkouni on 25 August 2020 06:51 AM


Syntax

 Public Function GetChartPeriod(chartIndex As Integer) As Integer

Description

This function is used to get the active period for the given chart index.

Parameters

Key Description 
chartIndex The chart position on the chart windows.0 means a current chart, the value of type Integer

Return value

Returns the chart period as value of type integer. else when getting -1 , call GetLastError function.

Sample

 Public Sub main()

    Dim SymbolName

    SymbolName = GetChartPeriod(2)

    AlertMessage SymbolName

 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