• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

TimeSeries

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

CopyOpen

32 views 0 Updated on December 26, 2023 hybrid-solutions

Syntax

Public Function CopyOpen(chartID As Integer, startPos As Long, Count As Long, ByRef openArray As Variant)As Integer

Description

This function is used to return history data of the open bars for the specified chart that saved on an open array

Parameters

Key Description
chartID 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.
openArray 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 openArray AlertMessage CopyOpen(0,1,Bars(0),openArray) ' Returns -1 if there was an error. End Sub

See Also

  • CopyClose
  • CopyTime
  • GetOpen

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  CopyClose

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
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
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 2024 hybridsolutions.com. All Rights Reserved.