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