Knowledgebase : Technical Support > API > Client API's/VTL > VTL Client Scripts > TimeSeries
SYNTAX  Public Function iLowest(Symbol As String, timeFrame As ENUM_TIMEFRAMES, barsCount As Long, Start As Long) As Double DESCRIPTION This function is used to return the lowest low value for the specific bars by giving the symbol and time frame of th...
SYNTAX  Public Function iHighest(Symbol As String, timeFrame As ENUM_TIMEFRAMES, barsCount As Long, Start As Long) As Double DESCRIPTION This function is used to return the highest high value for the specific bars by giving the symbol and time frame of...
SYNTAX  Public Function iBarShift (chartIndex As Integer, Time As String) As Integer DESCRIPTION This function is used to return the index of the bar by giving the bar time on the specific chart. PARAMETERS Key Description  ChartIndex      ...
SYNTAX  Public Function RealTime(UnixTime As String) As Date DESCRIPTION This function is used to return the time from unix time to real time. PARAMETERS Key Description  UnixTime Time in unix format to be changed to real format. Value o...
SYNTAX  Public Function ClientGMT()As String DESCRIPTION This function is used to return the GMT value in client side as a string value. PARAMETERS No Parameters. RETURN VALUE Returns GMT client side time as a string value. SAMPLE  Public Sub mai...
SYNTAX  Public Function ClientTime()As String DESCRIPTION This function is used to return the time in the client side as a string value. PARAMETERS No Parameters. RETURN VALUE Returns the client side time as a string value. SAMPLE  Public Sub mai...
SYNTAX  Public Function TimeLocal()As String DESCRIPTION This function is used to get the current local time. PARAMETERS No Parameters. RETURN VALUE Returns the current time with the value of type String SAMPLE  Public Sub main()     AlertMessag...
Syntax Public Function DataTimes(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES, StartPos As Long, Count As Long, ByRef TimeArray As Variant) As Integer  DESCRIPTION This function is used to get into the TimeArray the history data of the times bar ...
Syntax Public Function OpenPrices(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES, StartPos As Long, Count As Long, ByRef OpenArray As Variant) As Integer  DESCRIPTION This function is used to get into the OpenArray the history data of the bar open ...
Syntax  Public Function ClosePrices(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES, StartPos As Long, Count As Long, ByRef CloseArray As Variant) As Integer  DESCRIPTION This function is used to get into the CloseArray the history data of the bar c...
Syntax Public Function LowPrices(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES, StartPos As Long, Count As Long, ByRef lowArray As Variant) As Integer  DESCRIPTION This function is used to get into the lowArray the history data of the bar low pric...
Syntax Public Function HighPrices(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES, StartPos As Long, Count As Long, ByRef highArray As Variant) As Integer  DESCRIPTION This function is used to get into the highArray the history data of the bar high ...
Syntax Public Function iTtime(Symbol As String, timeFrame As ENUM_TIMEFRAMES, shift As Long)As Double DESCRIPTION This function is used to return the time value for the specific bar by a given it number. PARAMETERS Key Description  Symbol ...
Syntax Public Function iclose(Symbol As String, timeFrame As ENUM_TIMEFRAMES, shift As Long)As Double DESCRIPTION This function is used to return the close price value for a bar at a specific time frame by a given the bar number. PARAMETERS Key ...
Syntax Public Function iOpen(Symbol As String, timeFrame As ENUM_TIMEFRAMES, shift As Long)As Double This function is used to return the open price value for a bar at a specific time frame by a given its number. PARAMETERS Key Description  S...
Syntax Public Function iLow(Symbol As String, timeFrame As ENUM_TIMEFRAMES, shift As Long)As Double DESCRIPTION This function is used to return the low price value for a bar at a specific time by a given its number.  PARAMETERS Key Description ...
Syntax Public Function iHigh(Symbol As String, timeFrame As ENUM_TIMEFRAMES, shift As Long)As Double DESCRIPTION This function is used to return the high price value for bar at a specific time frame by a given it number. PARAMETERS Key Descript...
SYNTAX Public Function GetMinute(ByVal Chart_ID As long, ByVal Record As long)As String DESCRIPTION A function that returns' the Minute of specific Bar that exists on a spesfic chart.  PARAMETERS Key Description  chart_ID Chart identifie...
SYNTAX Public Function GetHour(ByVal Chart_ID As long, ByVal Record As long)As String DESCRIPTION A function that returns' the Hour of specific Bar that exists on a spesfic chart.  PARAMETERS Key Description  chart_ID Chart identifier, 0...
SYNTAX Public Function GetDay(ByVal Chart_ID As long, ByVal Record As long)As String DESCRIPTION A function that returns' the Day of specific Bar that exists on a spesfic chart.  PARAMETERS Key Description  chart_ID Chart identifier, 0 i...
SYNTAX Public Function GetMonth(ByVal ChartID As long, ByVal Record As long)As String DESCRIPTION A function that returns' the month of specific Bar that exists on a spesfic chart.  PARAMETERS Key Description  chart_ID Chart identifier, ...
Syntax Public Function GetYear(ByVal ChartID As long, ByVal Record As long) As String DESCRIPTION A function that returns' the year of specific Bar that exists on a specific chart.  PARAMETERS Key Description  chart_ID Chart identifier, ...
Syntax Public Function GetTime(chart_ID As Long, Record As Long)As String DESCRIPTION This function is used to return the time value for the bar of indicated chart. If local history is empty, a function returns -1.  PARAMETERS Key Description  ...
Syntax Public Function GetClose(chart_ID As Long, Record As Integer)As Double DESCRIPTION This function is used to return the close value for the bar of indicated chart. If local history is empty, the function returns -1.  Parameters Key Descri...
Syntax Public Function Getlow(chart_ID As Long, Record As Integer)As Double DESCRIPTION This function is used to return the low price value for the bar of indicated chart. If local history is empty, a function returns -1.  PARAMETERS Key Descri...
Syntax Public Function GetHigh(chart_ID As Long, Record As Integer)As Double DESCRIPTION This function is used to return the high price value for the bar of indicated chart. If local history is empty a function returns -1.  PARAMETERS Key Descr...
Syntax Public Function GetOpen(chart_ID As Long, Record As Integer)As Double DESCRIPTION This function is used to return the open price value for the bar of indicated chart. If local history is empty, a function returns -1. PARAMETERS Key Descr...
SYNTAX Public Function CopyTime(chartID As Long, startPos As Long, Count As Long, ByRef timeArray As Variant)As Integer DESCRIPTION This function is used to return the history data of the time bars for a specific chart and put the result on a timeArray...
SYNTAX Public Function CopyClose(chart_ID As Integer, startPos As Long, Count As Long, ByRef closeArray As Variant)As Integer DESCRIPTION This function is used to return the history data that saved on CloseArray of bar close prices for the selected cha...
SYNTAX Public Function CopyOpen(chartID As Integer, startPos As Long, Count As Long, ByRef openArray As Variant)As Integer DESCRIPTION This function is used to return history data of the open bars for the specified chart that saved on an open array PA...
SYNTAX Public Function CopyLow(chart_ID As Integer, startPos As Long, Count As Long, ByRef lowArray As Variant)As Integer DESCRIPTION This function is used to return the history data that saved on lowArray of the Lowest for bars for a specified chart. ...
SYNTAX Public Function CopyHigh(chartID As Integer, startPos As Long, Count As Long, ByRef highArray As Variant)As Integer DESCRIPTION This function is used to return the history data saved in highArray of the highest bars in the specified chart. PARA...
SYNTAX Public Function Bars(chart_ID As Long)As Long DESCRIPTION This function used to return the number of bars in a specified chart. PARAMETERS Key Description  chart_Index Chart identifier, 0 is the current chart, value of type Long ...
Help Desk Software by Hybrid Solutions