Chart Operations
This page provides documentation for the Chart Operations class.
Overview
The class is responsible for handling chart-related operations and manipulations. It provides various methods to manage charts, indicators, and chart windows.
Available Methods
Chart Management
GetFirstChartId: Returns anumberrepresenting the ID of the first chart.GetCurrentChartId: Returns anumberrepresenting the ID of the current chart.GetNextChartId: Returns anumberrepresenting the ID of the next chart.OpenNewChart: Opens a new chart with specified parameters.GetChartSymbol: Returns astringrepresenting the symbol of the chart.GetChartTimeframe: Returns anumberrepresenting the timeframe of the chart.SetChartSymbolAndTimeframe: Sets the symbol and timeframe for a chart.
Indicator Operations
RemoveIndicator: Removes an indicator from the chart.GetIndicatorName: Returns astringrepresenting the name of an indicator.GetIndicatorCount: Returns anumberrepresenting the count of indicators.
Chart Window Operations
ChartWindowFind: Finds a chart window by its name.ChartWindowOnDropped: Gets the window where an object was dropped.WindowFind: Finds a window by its index.WindowFirstVisibleBar: Gets the first visible bar in a window.WindowBarsPerChart: Gets the number of bars visible in a chart window.
Chart Coordinates and Time
ConvertTimeAndPriceToPoint: Converts time and price to chart coordinates.ChartXYToTimePrice: Converts chart coordinates to time and price.GetDroppedElementPrice: Gets the price at the dropped point.GetDroppedElementTime: Gets the time at the dropped point.ChartYOnDropped: Gets the Y coordinate where an object was dropped.
Chart Properties
Click on any method name to view its detailed documentation.
Last updated