Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

TimeSeries

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/TimeSeries/CopyHigh

CopyHigh

8 views 0 Updated on December 16, 2021 hybrid-solutions

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

  • CopyLow
  • CopyOpen
  • CopyClose


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  Bars

CopyLow  

About
VertexFX Trader has a closed-loop trading structure with Backoffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Mobile Trader
  • Lite VertexFX Mobile Trader
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2023 hybridsolutions.com. All Rights Reserved.