Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 14 January 2019 01:31 PM


Public Function ObjectSeriesSetValue(chart_ID As Long, SeriesName As String, recordNumber As Long, NewValue As Double)As Boolean

This function is used to set the value for specific series in the chart.


Key Description 
chart_ID Chart identifier, 0 mean the current chart,value of type Long.
SeriesName Series key ,value of type String.
recordNumber Bars number,value of type Long.
NewValue New value to set series,value of type Double.

Return value

Returns true if successful, otherwise it returns false. To read more about the error call GetLastError() function.


 Public Sub main () 
 AlertMessage ObjectSeriesSetValue (0,"SeriesName", Bars (0), 20)
 End sub

See Also

Back to VTL Client Script Index

(1 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
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