Syntax
Public Function GetChartData(Chart_ID As Integer, RowsCount As Long) As Boolean
Description
This function is used to load specificbars number on a givenchart.
Parameters
Key | Description |
Chart_ID | ID of chart to be loaded , 0 means current chart, value of type Integer |
RowsCount | The rows count that want to load, value of type Long |
Return value
Returns true if the data loaded successfully, otherwise return false. If an error occurred, call GetLastError to read the error.
Sample
Public Sub main() AlertMessage (GetChartData (0, 1000)) End Sub
See Also