Chart Operations
These are functions for working with charts. All chart operations are allowed in Expert Advisors and scripts only.
Function |
Action |
Applies a specific template from a specified file to the chart |
|
Returns the number of a subwindow where an indicator is drawn |
|
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 valuefor 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. |
|
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 format |
© 2000-2010, MetaQuotes Software Corp.
