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 This function is used to return the lowest low value for the specific bars by giving the symbol and time frame of the chart. ...
SYNTAX  Public Function iHighest(Symbol As String, timeFrame As ENUM_TIMEFRAMES, barsCount As Long, Start As Long) As Double This function is used to return the highest high value for the specific bars by giving the symbol and time frame of the chart....
SYNTAX  Public Function iBarShift (chartIndex As Integer, Time As String) As Integer This function is used to return the index of the bar by giving the bar time on the specific chart. PARAMETERS Key Description  ChartIndex           T...
SYNTAX  Public Function RealTime(UnixTime As String) As Date 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 of type is...
SYNTAX  Public Function ClientGMT()As String 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 main() ...
SYNTAX  Public Function ClientTime()As String 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 main() ...
SYNTAX  Public Function TimeLocal()As String This function is used to get current local time. PARAMETERS No Parameters. RETURN VALUE Returns the current time with the value of type String SAMPLE  Public Sub main()     AlertMessage TimeLo...
Syntax Public Function DataTimes(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1923], StartPos As Long, Count As Long, ByRef TimeArray As Variant) As Integer  This fun...
Syntax Public Function OpenPrices(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1923], StartPos As Long, Count As Long, ByRef OpenArray As Variant) As Integer  This fu...
Syntax  Public Function ClosePrices(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1923], StartPos As Long, Count As Long, ByRef CloseArray As Variant) As Integer  This...
Syntax Public Function LowPrices(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1923], StartPos As Long, Count As Long, ByRef lowArray As Variant) As Integer  This func...
Syntax Public Function HighPrices(SymbolName As String, TimeFrame As ENUM_TIMEFRAMES [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1923], StartPos As Long, Count As Long, ByRef highArray As Variant) As Integer  This fu...
Syntax Public Function iTtime(Symbol As String, timeFrame As ENUM_TIMEFRAMES, shift As Long)As Double This function is used to return the time value for the specific bar by a given it number. PARAMETERS Key Description  Symbol Trading...
Syntax Public Function iclose(Symbol As String, timeFrame As ENUM_TIMEFRAMES [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1923], shift As Long)As Double This function is used to return the close price value for a bar ...
Syntax Public Function iOpen(Symbol As String, timeFrame As ENUM_TIMEFRAMES [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1923], shift As Long)As Double This function is used to return the open price value for a bar at...
Syntax Public Function iLow(Symbol As String, timeFrame As ENUM_TIMEFRAMES, shift As Long)As Double 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  Symb...
Syntax Public Function iHigh(Symbol As String, timeFrame As ENUM_TIMEFRAMES, shift As Long)As Double This function is used to return the high price value for bar at specific time frame by a given it number. PARAMETERS Key Description  Sy...
SYNTAX Public Function GetMinute(ByVal Chart_ID As long, ByVal Record As long)As String Function that returns' the Minute of spisfic Bar that’s exist on spesfic chart.  PARAMETERS Key Description  chart_ID Chart identifier, 0 is the c...
SYNTAX Public Function GetHour(ByVal Chart_ID As long, ByVal Record As long)As Srting Function that returns' the Hour of spisfic Bar that’s exist on spesfic chart.  PARAMETERS Key Description  chart_ID Chart identifier, 0 is the curre...
SYNTAX Public Function GetDay(ByVal Chart_ID As long, ByVal Record As long)As String Function that returns' the Day of spisfic Bar that's exist on spesfic chart. PARAMETERS Key Description chart_ID Chart identifier, 0 is the current ...
SYNTAX Public Function GetMonth(ByVal ChartID As long, ByVal Record As long)As String Function that returns' the month of spisfic Bar that’s exist on spesfic chart.  PARAMETERS Key Description  chart_ID Chart identifier, 0 is the curr...
Syntax Public Function GetYear(ByVal ChartID As long, ByVal Record As long) As String Function that returns' the year of spisfic Bar that’s exist on spesfic chart.  PARAMETERS Key Description  chart_ID Chart identifier, 0 is the curre...
Syntax Public Function GetTime(chart_ID As Long, Record As Long)As String 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  chart...
Syntax Public Function GetClose(chart_ID As Long, Record As Integer)As Double This function is used to return the close value for the bar of indicated chart. If local history is empty, function returns -1.  Parameters Key Description  ch...
Syntax Public Function Getlow(chart_ID As Long, Record As Integer)As Double 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 Description  ...
Syntax Public Function GetHigh(chart_ID As Long, Record As Integer)As Double 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 Description  ...
Syntax Public Function GetOpen(chart_ID As Long, Record As Integer)As Double 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 Description  ...
SYNTAX Public Function CopyTime(chartID As Long, startPos As Long, Count As Long, ByRef timeArray As Variant)As Integer This function is used to return the history data of the time bars for specific chart and put the result on timeArray variable . P...
SYNTAX Public Function CopyClose(chart_ID As Integer, startPos As Long, Count As Long, ByRef closeArray As Variant)As Integer This function is used to return the history data that saved on CloseArray of bar close prices for the selected chart. PARAM...
SYNTAX Public Function CopyOpen(chartID As Integer, startPos As Long, Count As Long, ByRef openArray As Variant)As Integer This function is used to return history data of the open bars for the specified chart that saved on openArray PARAMETERS ...
SYNTAX Public Function CopyLow(chart_ID As Integer, startPos As Long, Count As Long, ByRef lowArray As Variant)As Integer This function is used to return the history data that saved on lowArray of the Lowest for bars for specified chart. PARAMETERS ...
SYNTAX Public Function CopyHigh(chartID As Integer, startPos As Long, Count As Long, ByRef highArray As Variant)As Integer This function is used to return the history data saved in highArray of the highest bars in the specified chart. PARAMETERS ...
SYNTAX Public Function Bars(chart_ID As Long)As Long This function used to return the number of bars in specified chart. PARAMETERS Key Description  chart_Index Chart identifier, 0 is the current chart ,value of type Long RETURN VALU...
Help Desk Software by Hybrid Solutions