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 lowArrayof the Lowestfor bars for a specified chart.
Parameters
Key | Description |
chart_ID | Chart location at chart window, 0 mean current chart, the value of type Integer |
startPos | The start position to copy, the value of type Long |
Count | Data count to be copied, the value of type Long |
lowArray | Array for saving the results data in, the value of type Variant. |
Return value
Returns the copied data count. If -1 is returned there is an error.
Sample
Public Sub main()Dim lowArray AlertMessage CopyLow(0,1,Bars(0),lowArray) ' Returns -1 if there was an error. End Sub
See Also