Syntax
Public Function GetDay(ByVal Chart_ID As long, ByVal Record As long)As String
Description
A function that returns’ the Day of specific Bar that exists on a spesfic chart.
Parameters
Key | Description |
chart_ID | Chart identifier, 0 is the current chart, the value of type Long |
Record | Bar number to get the day value for it, the value of type Long. |
Return value
Returns day value for a requested record as the value of type String.
Sample
Public Sub main() AlertMessage ("The day of the record 50: " & GetDay (0, 50))End Sub
See Also