Syntax
Public Function ChartNavigate(chart_id As Long, Position As ENUM_CHART_POSITION, Optional Shift As Variant = 0) As Boolean
Description
This function is used to shift the specified chart by the specified number of bars in the chart.
Parameters
Key | Description |
chart_id | Chart identifier.0 is the current chart, value of type long |
Position | The way to shift chart, a value of typeENUM_CHART_POSITION. |
Shift | Number of bars to shift the chart.if the position equals 2. |
Return value
Returns true if successful, otherwise returns false.In order to get an error , callGetLastError()function.
Sample
Public Sub main()AlertMessage ChartNavigate (0, CHART_END)End Sub
See Also