CopyHigh
Posted by Mohammad Rahhal, Last modified by Fouad Faraj Allah on 04 July 2019 02:51 PM

Syntax

Public Function CopyHigh(chartID As Integer, startPos As Long, Count As Long, ByRef highArray As Variant)As Integer

Description

This function is used to return the history data saved in highArray of the highest bars in the specified chart.

Parameters

Key Description 
chart_ID Chart identifier, 0 is the current chart, the value of type Long
startPos The start position to copy, the value of type Long.
Count Data count to be copied, the value of type Long.
highArray Array for saving the result 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 highArray 

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

End Sub

See Also


Back to VTL Client Script Index

(1 vote(s))
Helpful
Not helpful

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