- ChartApplyTemplate
- ChartSaveTemplate
- ChartWindowFind
- ChartTimePriceToXY
- ChartXYToTimePrice
- ChartOpen
- ChartFirst
- ChartNext
- ChartClose
- ChartSymbol
- ChartPeriod
- ChartRedraw
- ChartSetDouble
- ChartSetInteger
- ChartSetString
- ChartGetDouble
- ChartGetInteger
- ChartGetString
- ChartNavigate
- ChartID
- ChartIndicatorAdd
- ChartIndicatorDelete
- ChartIndicatorGet
- ChartIndicatorName
- ChartIndicatorsTotal
- ChartWindowOnDropped
- ChartPriceOnDropped
- ChartTimeOnDropped
- ChartXOnDropped
- ChartYOnDropped
- ChartSetSymbolPeriod
- ChartScreenShot
Chart Operations
Functions for setting chart properties (ChartSetInteger, ChartSetDouble, ChartSetString) are asynchronous and are used for sending update commands to a chart. If these functions are executed successfully, the command is included in the common queue of the chart events. Chart property changes are implemented along with handling of the events queue of this chart.
Thus, do not expect an immediate update of the chart after calling asynchronous functions. Use the ChartRedraw() function to forcedly update the chart appearance and properties.
Function |
Action |
---|---|
Applies a specific template from a specified file to the chart |
|
Saves current chart settings in a template with a specified name |
|
Returns the number of a subwindow where an indicator is drawn |
|
Converts the coordinates of a chart from the time/price representation to the X and Y coordinates |
|
Converts the X and Y coordinates on a chart to the time and price values |
|
Opens a new chart with the specified symbol and period |
|
Closes the specified chart |
|
Returns the ID of the first chart of the client terminal |
|
Returns the chart ID of the chart next to the specified one |
|
Returns the symbol name of the specified chart |
|
Returns the period value of the specified chart |
|
Calls a forced redrawing of a specified chart |
|
Sets the double value for a corresponding property of the specified chart |
|
Sets the integer value (datetime, int, color, bool or char) for a corresponding property of the specified chart |
|
Sets the string value for a corresponding property of the specified chart |
|
Returns the double value property of the specified chart |
|
Returns the integer value property of the specified chart |
|
Returns the string value property of the specified chart |
|
Performs shift of the specified chart by the specified number of bars relative to the specified position in the chart |
|
Returns the ID of the current chart |
|
Adds an indicator with the specified handle into a specified chart window |
|
Removes an indicator with a specified name from the specified chart window |
|
Returns the handle of the indicator with the specified short name in the specified chart window |
|
Returns the short name of the indicator by the number in the indicators list on the specified chart window |
|
Returns the number of all indicators applied to the specified chart window. |
|
Returns the number (index) of the chart subwindow the Expert Advisor or script has been dropped to |
|
Returns the price coordinate of the chart point the Expert Advisor or script has been dropped to |
|
Returns the time coordinate of the chart point the Expert Advisor or script has been dropped to |
|
Returns the X coordinate of the chart point the Expert Advisor or script has been dropped to |
|
Returns the Y coordinate of the chart point the Expert Advisor or script has been dropped to |
|
Changes the symbol value and a period of the specified chart |
|
Provides a screenshot of the chart of its current state in a GIF, PNG or BMP format depending on specified extension |