• 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/GetYear

GetYear

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


Syntax

Public Function GetYear(ByVal ChartID As long, ByVal Record As long) As String

Description

A function that returns’ the year of specific Bar that exists on a specific chart.

Parameters

Key Description
chart_ID Chart identifier, 0 is the current chart, the value of type Long
Record Bar number that want to get the year for it, the value of type Long.

Return value

Returns year value for requested record type of String.

Sample

Public Sub main() AlertMessage ("The year of the record 50: "  & GetYear (0, 50))End Sub

See Also

  • GetMonth
  • GetDay
  • GetHour

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  GetClose

GetMinute  

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.