Syntax
Public Function GetPanelPriceMax (chartIndex As Integer, Panel As Long) As Double
Description
Thisfunction is used to return the maximum value of the vertical scale of the specified sub-windowin the given chart index.
Parameters
Key | Description |
chartIndex | The chart position on chart windows. 0 mean current chart, value of type Integer |
Panel | Index of sub window .0 means the main chart window, value of type Long |
Return value
Returns the maximum value of the vertical scale of the specified sub window of the current chart, if chart not opened return -1, if sub window not opened return 0.
Sample
Public Sub main() AlertMessage GetPanelPriceMax (0, 0) End Sub
See Also