Knowledgebase : Technical Support > API > Client API's/VTL > VTL Client Scripts > Custom Indicators
SYNTAX Public Sub NewCandle (Chart_Index as integer , indName as string , OpenValue as double , HighValue as double , LowValue as double , CloseValue as double ) This function is used to add new candle to specified indicator which is added before by Add...
SYNTAX Public Sub NewTick (chart_Index as integer, IndicatorName as string , newvalue as double) This function is used to update close price for last candle that was added before by AddCustomIndicatorCandles [http://hybrid-solutions.kayako.com/index.php...
SYNTAX Public function AddCustomIndicatorCandles( chart_index as integer , ArrOpen as variant , arrHigh as variant , arrLow as variant , arrClose as variant , startPos as integer , optional subwindow as Boolean = true , optional win as long = 0 ,opional ...
SYNTAX Public Function SetDrawingStyle(chart_id As Long, seriesName As String, draw_style As ENUM_DRAWING_TYPE) As Boolean DESCRIPTION This function is used to set drawing style for specific indicator line on a given chart PARAMETERS Key Descri...
SYNTAX Public Function SetSeriesStyle(chart_id As Long, seriesName As String, SeriesStyle As ENUM_SERIES_TYPE) As Boolean DESCRIPTION This function sets the style for a given indicator line. PARAMETERS Key Description  chart_id Chart ide...
SYNTAX Public Function SetArrowStyle(chart_id As Long, seriesName As String, code As Integer) As Boolean DESCRIPTION This function sets an arrow for the indicator. To perform this function successfully, you have to set the drawing style [http://www.hyb...
SYNTAX Public Function SetIndicatorData(chart_ID As String, indName As String, value As Double) DESCRIPTION This function is used to update the custom indicator which is added before by AddCustomIndicator [http://www.hybrid-solutions.com/support/index....
SYNTAX Public Function AddCustomIndicator(chart_ID As Long, bufferAry As Variant, startPos As Integer, subWindow As Boolean, Optional win As Long = 0 ,Optional Indicator As String  = “Custom Indicator”)As String DESCRIPTION This function is used to add...
Help Desk Software by Hybrid Solutions