Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 20 February 2019 09:18 AM


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.


Key Description 
chart_ID Chart location at chart window, 0 mean current chart, value of type Integer
startPos The start position to copy, value of type Long
Count Data count to be copied , value of type Long
lowArray Array for saving the results data in, value of type Variant.

Return value

Returns the copied data count. If -1 is returned there is an error.


Public Sub main()

Dim lowArray 

AlertMessage CopyLow(0,1,Bars(0),lowArray) ' Returns -1 if there was an error. 

End Sub

See Also

Back to VTL Client Script Index

(0 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