Chart
Chart functions are mostly used for accessing strategy charts, changing their settings and adding elements to them. For performance reasons these functions should only be called once from the OnInitialize function, as calling them repeatedly can be quite slow.
Sections
Name |
Description |
Hides all the data box fields of a specified chart panel. |
|
Sets the colors of the data box of a specified chart panel. |
|
Sets the colors of the data box of a specified chart panel. |
|
Sets the format of the date in the data box of a specified chart panel. |
|
ChartDataBoxSetFieldColors(int, int, C_Color, C_Color, C_Color) |
Sets the colors of the data box fields of a specified chart panel. |
ChartDataBoxSetFieldColorsRGB(int, int, int[], int[], int[]) |
Sets the colors of the data box fields of a specified chart panel. |
Sets the font family and the font size of the data box of a specified chart panel. |
|
ChartDataBoxSetSeparator(int, int, C_Color, C_DashStyle, int) |
Sets the separator pen of the data box of a specified chart panel. |
ChartDataBoxSetSeparatorRGB(int, int, int[], C_DashStyle, int) |
Sets the separator pen of the data box of a specified chart panel. |
Sets the format of the time in the data box of a specified chart panel. |
|
Shows or hides a field in the data box of a specified chart panel. |
|
int ChartDataSeriesPlot(int, int, int, C_ChartType, C_BarType, double, C_BarSource) |
Plots a specified data series on the chart. |
int ChartDataSeriesPlotCustom(int, int, int, C_ChartType, string, double, C_BarSource) |
Plots a specified data series on the chart. |
int ChartDataSeriesPlotDefault(int, int, int, C_ChartType, C_BarType, double, C_BarSource) |
Updates the default data series on the chart, if this function isn't called the default data series will be plotted based on the Desktop data series settings. |
ChartDataSeriesSetAskPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the latest ask price of the underlying symbol of a specified data series. |
ChartDataSeriesSetAskPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the latest ask price of the underlying symbol of a specified data series. |
Sets the maximum width of the bars of a specified data series. |
|
ChartDataSeriesSetBidPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the latest bid price of the underlying symbol of a specified data series. |
ChartDataSeriesSetBidPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the latest bid price of the underlying symbol of a specified data series. |
ChartDataSeriesSetBuyOrderPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the pending buy orders of the underlying symbol of a specified data series. |
ChartDataSeriesSetBuyOrderPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the pending buy orders of the underlying symbol of a specified data series. |
Sets the chart panel on which to display the specified data series. |
|
Sets the chart type, which is the visual style of a specified data series. |
|
ChartDataSeriesSetCoverOrderPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the pending cover orders of the underlying symbol of a specified data series. |
ChartDataSeriesSetCoverOrderPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the pending cover orders of the underlying symbol of a specified data series. |
Sets the colors of 'down bars' of a specified data series. |
|
Sets the colors of 'down bars' of a specified data series. |
|
ChartDataSeriesSetLastPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the last trade price of the underlying symbol of a specified data series. |
ChartDataSeriesSetLastPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the last trade price of the underlying symbol of a specified data series. |
ChartDataSeriesSetLongPositionPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the open long positions of the underlying symbol of a specified data series (based on the position's weighted average entry price). |
ChartDataSeriesSetLongPositionPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the open long positions of the underlying symbol of a specified data series (based on the position's weighted average entry price). |
Sets the colors of 'neutral bars' of a specified data series. |
|
Sets the colors of 'neutral bars' of a specified data series. |
|
ChartDataSeriesSetSellOrderPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the pending sell orders of the underlying symbol of a specified data series. |
ChartDataSeriesSetSellOrderPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the pending sell orders of the underlying symbol of a specified data series. |
ChartDataSeriesSetSessionBreakPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the end of a session of the underlying symbol of a specified data series. |
ChartDataSeriesSetSessionBreakPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the end of a session of the underlying symbol of a specified data series. |
ChartDataSeriesSetShortOrderPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the pending short orders of the underlying symbol of a specified data series. |
ChartDataSeriesSetShortOrderPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the pending short orders of the underlying symbol of a specified data series. |
ChartDataSeriesSetShortPositionPen(int, int, C_Color, C_DashStyle, int) |
Sets the pen that marks the open short positions of the underlying symbol of a specified data series (based on the position's weighted average entry price). |
ChartDataSeriesSetShortPositionPenRGB(int, int, int[], C_DashStyle, int) |
Sets the pen that marks the open short positions of the underlying symbol of a specified data series (based on the position's weighted average entry price). |
Sets the colors of 'up bars' of a specified data series. |
|
ChartDataSeriesSetUpBarColorsRGB(int, int, int[], int[], C_DashStyle, int, int[], C_DashStyle, int) |
Sets the colors of 'up bars' of a specified data series. |
Sets the Y axis type of a specified data series. |
|
Shows or hides the Y axis marker of a specified data series. |
|
Plots a specified drawing on the chart. |
|
Removes all of the drawings from the chart. |
|
Sets the chart panel on which to display a specified drawing. |
|
Sets the label of a specified drawing. |
|
ChartDrawingSetPenByIndex(int, int, int, C_Color, C_DashStyle, int) |
Sets the pen of a specified drawing. |
ChartDrawingSetPenByIndexRGB(int, int, int, int[], C_DashStyle, int) |
Sets the pen of a specified drawing. |
ChartDrawingSetPenByName(int, int, string, C_Color, C_DashStyle, int) |
Sets the pen of a specified drawing. |
ChartDrawingSetPenByNameRGB(int, int, string, int[], C_DashStyle, int) |
Sets the pen of a specified drawing. |
Plots a specified indicator on the chart. |
|
Removes all of the indicators from the chart. |
|
Sets the chart panel on which to display a specified indicator. |
|
Sets the displacement of a specific indicator. (E.g. displacement of 5 will match the current bar with the indicator value that was calculated 5 bars ago.) |
|
Sets the label of a specified indicator. |
|
ChartIndicatorSetPenByIndex(int, int, int, C_Color, C_DashStyle, int) |
Sets the pen of a specified indicator. |
ChartIndicatorSetPenByIndexRGB(int, int, int, int[], C_DashStyle, int) |
Sets the pen of a specified indicator. |
ChartIndicatorSetPenByName(int, int, string, C_Color, C_DashStyle, int) |
Sets the pen of a specified indicator. |
ChartIndicatorSetPenByNameRGB(int, int, string, int[], C_DashStyle, int) |
Sets the pen of a specified indicator. |
Sets the plot style of a specified indicator. |
|
Sets the Y axis type of a specified indicator. |
|
Shows or hides the a specified indicator in the data box. |
|
Shows or hides the Y axis marker of a specified indicator. |
|
Sets the background colors of a specified chart panel. |
|
Sets the background colors of a specified chart panel. |
|
ChartPanelSetColorZone(int, int, int, double, double, C_Color, C_Color, C_DashStyle, int) |
Sets/modify a color zone in a specified chart panel. The color zone will be automatically shown on the chart panel (see the ChartPanelShowColorZone function to hide it). |
ChartPanelSetColorZoneRGB(int, int, int, double, double, int[], int[], C_DashStyle, int) |
Sets/modify a color zone in a specified chart panel. The color zone will be automatically shown on the chart panel (see the ChartPanelShowColorZone function to hide it). |
ChartPanelSetCrosshairPens(int, int, C_Color, C_DashStyle, int) |
Sets the crosshair pens of a specified chart panel. |
ChartPanelSetCrosshairPensRGB(int, int, int[], C_DashStyle, int) |
Sets the crosshair pens of a specified chart panel. |
Sets the font family and the font size of a specified chart panel. (See the ChartPanelSetForeground function to set the foreground color of a chart panel.) |
|
Sets the foreground color of a specified chart panel. |
|
Sets the foreground color of a specified chart panel. |
|
Sets the grid pens of a specified chart panel. |
|
Sets the grid pens of a specified chart panel. |
|
Enables or disables a specified color zone. |
|
Plots a specified pattern on the chart. |
|
Removes all of the patterns from the chart. |
|
Sets the chart panel on which to display a specified pattern. |
|
Sets the label of a specified pattern. |
|
ChartPatternSetPenByIndex(int, int, int, C_Color, C_DashStyle, int) |
Sets the pen of a specified pattern. |
ChartPatternSetPenByIndexRGB(int, int, int, int[], C_DashStyle, int) |
Sets the pen of a specified pattern. |
ChartPatternSetPenByName(int, int, string, C_Color, C_DashStyle, int) |
Sets the pen of a specified pattern. |
ChartPatternSetPenByNameRGB(int, int, string, int[], C_DashStyle, int) |
Sets the pen of a specified pattern. |
Sets the number of periods on the X axis of a specified chart. |
|
Sets the properties of a specified chart. |
|
Plots a specified signal on the chart. |
|
Removes all of the signals from the chart. |
|
Sets the chart panel on which to display a specified signal. |
|
Sets the label of a specified signal. |
|
ChartSignalSetPenByIndex(int, int, int, C_Color, C_DashStyle, int) |
Sets the pen of a specified signal. |
ChartSignalSetPenByIndexRGB(int, int, int, int[], C_DashStyle, int) |
Sets the pen of a specified signal. |
ChartSignalSetPenByName(int, int, string, C_Color, C_DashStyle, int) |
Sets the pen of a specified signal. |
ChartSignalSetPenByNameRGB(int, int, string, int[], C_DashStyle, int) |
Sets the pen of a specified signal. |
Shows or hides a specified signal. |
|
Sets the colors of the X axis of a specified chart. |
|
Sets the colors of the X axis of a specified chart. |
|
Sets the format of the date on the X axis of a specified chart. |
|
Sets the font family and the font size of the X axis of a specified chart. |
|
Sets the colors of the X axis marker of a specified chart. |
|
Sets the colors of the X axis marker of a specified chart. |
|
Sets the pen of the X axis line of a specified chart. |
|
Sets the pen of the X axis line of a specified chart. |
|
Sets the right margin of the X axis of a specified chart. |
|
Sets the format of the time on the X axis of a specified chart. |
|
Sets the bottom margin of the Y axis of a specified chart panel. |
|
Sets the colors of the Y axis of a specified chart panel. |
|
Sets the colors of the Y axis of a specified chart panel. |
|
Sets the number of decimal places on the Y axis of a specified chart panel. |
|
Sets the font family and the font size of the Y axis of a specified chart panel. |
|
Sets the Y axis of a specified chart panel to linear scale. |
|
Sets the Y axis of a specified chart panel to log scale. |
|
Sets the major unit of the Y axis of a specified chart panel. |
|
Sets the colors of the Y axis marker of a specified chart panel. |
|
Sets the colors of the Y axis marker of a specified chart panel. |
|
Sets the maximum Y value to display on a specified chart panel. |
|
Sets the minimum Y value to display on a specified chart panel. |
|
Sets the pen of the Y axis line of a specified chart panel. |
|
ChartYAxisSetPenRGB(int, int, int[], C_DashStyle, int, bool) |
Sets the pen of the Y axis line of a specified chart panel. |
Sets the Y axis of a specified chart panel to percent scale. |
|
Sets the top margin of the Y axis of a specified chart panel. |
|
Sets the width of the Y axis of a specified chart panel. |
|
Sets the Z-index of a specified element on the chart. An element with greater Z-index shows on the chart in front of another element with lower Z-index. |
ChartDataBoxHideAllFields(int chartSymbolIndex, int chartPanelIndex) |
|||||||||
Hides all the data box fields of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxSetColors(int chartSymbolIndex, int chartPanelIndex, C_Color backgroundColor, C_Color foregroundColor) |
|||||||||||||||
Sets the colors of the data box of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxSetColorsRGB(int chartSymbolIndex, int chartPanelIndex, int[] backgroundColor, int[] foregroundColor) |
|||||||||||||||
Sets the colors of the data box of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxSetDateFormat(int chartSymbolIndex, int chartPanelIndex, string dateFormat) |
||||||||||||
Sets the format of the date in the data box of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxSetFieldColors(int chartSymbolIndex, int chartPanelIndex, C_Color positiveChangeColor, C_Color negativeChangeColor, C_Color unchangedColor) |
||||||||||||||||||
Sets the colors of the data box fields of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxSetFieldColorsRGB(int chartSymbolIndex, int chartPanelIndex, int[] positiveChangeColor, int[] negativeChangeColor, int[] unchangedColor) |
||||||||||||||||||
Sets the colors of the data box fields of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxSetFont(int chartSymbolIndex, int chartPanelIndex, string fontFamily, int fontSize) |
|||||||||||||||
Sets the font family and the font size of the data box of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxSetSeparator(int chartSymbolIndex, int chartPanelIndex, C_Color separatorColor, C_DashStyle separatorStyle, int separatorThickness) |
||||||||||||||||||
Sets the separator pen of the data box of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxSetSeparatorRGB(int chartSymbolIndex, int chartPanelIndex, int[] separatorColor, C_DashStyle separatorStyle, int separatorThickness) |
||||||||||||||||||
Sets the separator pen of the data box of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxSetTimeFormat(int chartSymbolIndex, int chartPanelIndex, string timeFormat) |
||||||||||||
Sets the format of the time in the data box of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataBoxShowField(int chartSymbolIndex, int chartPanelIndex, C_DataBoxField dataBoxField, bool isVisibleField) |
|||||||||||||||
Shows or hides a field in the data box of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
int ChartDataSeriesPlot(int chartSymbolIndex, int symbolIndex, int chartPanelIndex, C_ChartType chartType, C_BarType barType, double barSize, C_BarSource barSource) |
||||||||||||||||||||||||
Plots a specified data series on the chart. Returns The item ID of the plotted data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
int ChartDataSeriesPlotCustom(int chartSymbolIndex, int symbolIndex, int chartPanelIndex, C_ChartType chartType, string barTypeID, double barSize, C_BarSource barSource) |
||||||||||||||||||||||||
Plots a specified data series on the chart. Returns The item ID of the plotted data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
int ChartDataSeriesPlotDefault(int chartSymbolIndex, int symbolIndex, int chartPanelIndex, C_ChartType chartType, C_BarType barType, double barSize, C_BarSource barSource) |
||||||||||||||||||||||||
Updates the default data series on the chart, if this function isn't called the default data series will be plotted based on the Desktop data series settings. Returns The item ID of the default data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetAskPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the latest ask price of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetAskPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the latest ask price of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetBarWidth(int chartSymbolIndex, int dataSeriesID, int barWidth) |
||||||||||||
Sets the maximum width of the bars of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetBidPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the latest bid price of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetBidPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the latest bid price of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetBuyOrderPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the pending buy orders of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetBuyOrderPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the pending buy orders of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetChartPanel(int chartSymbolIndex, int dataSeriesID, int chartPanelIndex) |
||||||||||||
Sets the chart panel on which to display the specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetChartType(int chartSymbolIndex, int dataSeriesID, C_ChartType chartType) |
||||||||||||
Sets the chart type, which is the visual style of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetCoverOrderPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the pending cover orders of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetCoverOrderPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the pending cover orders of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetDownBarColors(int chartSymbolIndex, int dataSeriesID, C_Color fillColor, C_Color borderColor, C_DashStyle borderStyle, int borderThickness, C_Color wickPenColor, C_DashStyle wickPenStyle, int wickPenThickness) |
||||||||||||||||||||||||||||||
Sets the colors of 'down bars' of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetDownBarColorsRGB(int chartSymbolIndex, int dataSeriesID, int[] fillColor, int[] borderColor, C_DashStyle borderStyle, int borderThickness, int[] wickPenColor, C_DashStyle wickPenStyle, int wickPenThickness) |
||||||||||||||||||||||||||||||
Sets the colors of 'down bars' of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetLastPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the last trade price of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetLastPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the last trade price of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetLongPositionPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the open long positions of the underlying symbol of a specified data series (based on the position's weighted average entry price). Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetLongPositionPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the open long positions of the underlying symbol of a specified data series (based on the position's weighted average entry price). Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetNeutralBarColors(int chartSymbolIndex, int dataSeriesID, C_Color fillColor, C_Color borderColor, C_DashStyle borderStyle, int borderThickness, C_Color wickPenColor, C_DashStyle wickPenStyle, int wickPenThickness) |
||||||||||||||||||||||||||||||
Sets the colors of 'neutral bars' of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetNeutralBarColorsRGB(int chartSymbolIndex, int dataSeriesID, int[] fillColor, int[] borderColor, C_DashStyle borderStyle, int borderThickness, int[] wickPenColor, C_DashStyle wickPenStyle, int wickPenThickness) |
||||||||||||||||||||||||||||||
Sets the colors of 'neutral bars' of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetSellOrderPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the pending sell orders of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetSellOrderPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the pending sell orders of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetSessionBreakPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the end of a session of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetSessionBreakPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the end of a session of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetShortOrderPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the pending short orders of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetShortOrderPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the pending short orders of the underlying symbol of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetShortPositionPen(int chartSymbolIndex, int dataSeriesID, C_Color penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the open short positions of the underlying symbol of a specified data series (based on the position's weighted average entry price). Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetShortPositionPenRGB(int chartSymbolIndex, int dataSeriesID, int[] penColor, C_DashStyle penStyle, int penThickness) |
||||||||||||||||||
Sets the pen that marks the open short positions of the underlying symbol of a specified data series (based on the position's weighted average entry price). Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetUpBarColors(int chartSymbolIndex, int dataSeriesID, C_Color fillColor, C_Color borderColor, C_DashStyle borderStyle, int borderThickness, C_Color wickPenColor, C_DashStyle wickPenStyle, int wickPenThickness) |
||||||||||||||||||||||||||||||
Sets the colors of 'up bars' of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetUpBarColorsRGB(int chartSymbolIndex, int dataSeriesID, int[] fillColor, int[] borderColor, C_DashStyle borderStyle, int borderThickness, int[] wickPenColor, C_DashStyle wickPenStyle, int wickPenThickness) |
||||||||||||||||||||||||||||||
Sets the colors of 'up bars' of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesSetYAxisType(int chartSymbolIndex, int dataSeriesID, C_YAxis yAxisType) |
||||||||||||
Sets the Y axis type of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDataSeriesShowMarker(int chartSymbolIndex, int dataSeriesID, bool isVisibleMarker) |
||||||||||||
Shows or hides the Y axis marker of a specified data series. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
int ChartDrawingPlot(int chartSymbolIndex, Drawing drawing, string label, int dataSeriesID, int chartPanelIndex) |
||||||||||||||||||
Plots a specified drawing on the chart. Returns The item ID of the plotted drawing. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDrawingRemoveAll(int chartSymbolIndex) |
||||||
Removes all of the drawings from the chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDrawingSetChartPanel(int chartSymbolIndex, int drawingID, int chartPanelIndex) |
||||||||||||
Sets the chart panel on which to display a specified drawing. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDrawingSetLabel(int chartSymbolIndex, int drawingID, string label) |
||||||||||||
Sets the label of a specified drawing. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDrawingSetPenByIndex(int chartSymbolIndex, int drawingID, int penIndex, C_Color penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified drawing. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDrawingSetPenByIndexRGB(int chartSymbolIndex, int drawingID, int penIndex, int[] penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified drawing. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDrawingSetPenByName(int chartSymbolIndex, int drawingID, string penName, C_Color penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified drawing. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartDrawingSetPenByNameRGB(int chartSymbolIndex, int drawingID, string penName, int[] penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified drawing. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
int ChartIndicatorPlot(int chartSymbolIndex, Indicator indicator, string label, int dataSeriesID, int chartPanelIndex) |
||||||||||||||||||
Plots a specified indicator on the chart. Returns The item ID of the plotted indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorRemoveAll(int chartSymbolIndex) |
||||||
Removes all of the indicators from the chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorSetChartPanel(int chartSymbolIndex, int indicatorID, int chartPanelIndex) |
||||||||||||
Sets the chart panel on which to display a specified indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorSetDisplacement(int chartSymbolIndex, int indicatorID, int displacement) |
||||||||||||
Sets the displacement of a specific indicator. (E.g. displacement of 5 will match the current bar with the indicator value that was calculated 5 bars ago.) Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorSetLabel(int chartSymbolIndex, int indicatorID, string label) |
||||||||||||
Sets the label of a specified indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorSetPenByIndex(int chartSymbolIndex, int indicatorID, int penIndex, C_Color penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorSetPenByIndexRGB(int chartSymbolIndex, int indicatorID, int penIndex, int[] penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorSetPenByName(int chartSymbolIndex, int indicatorID, string penName, C_Color penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorSetPenByNameRGB(int chartSymbolIndex, int indicatorID, string penName, int[] penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorSetPlotStyle(int chartSymbolIndex, int indicatorID, C_PlotStyle plotStyle) |
||||||||||||
Sets the plot style of a specified indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorSetYAxisType(int chartSymbolIndex, int indicatorID, C_YAxis yAxisType) |
||||||||||||
Sets the Y axis type of a specified indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorShowDataBox(int chartSymbolIndex, int indicatorID, bool isVisibleDataBox) |
||||||||||||
Shows or hides the a specified indicator in the data box. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartIndicatorShowMarker(int chartSymbolIndex, int indicatorID, bool isVisibleMarker) |
||||||||||||
Shows or hides the Y axis marker of a specified indicator. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetBackground(int chartSymbolIndex, int chartPanelIndex, C_Color color) |
||||||||||||
Sets the background colors of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetBackgroundRGB(int chartSymbolIndex, int chartPanelIndex, int[] color) |
||||||||||||
Sets the background colors of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetColorZone(int chartSymbolIndex, int chartPanelIndex, int colorZoneIndex, double bottomPrice, double topPrice, C_Color backgroundColor, C_Color strokeColor, C_DashStyle strokeStyle, int strokeThickness) |
||||||||||||||||||||||||||||||
Sets/modify a color zone in a specified chart panel. The color zone will be automatically shown on the chart panel (see the ChartPanelShowColorZone function to hide it). Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetColorZoneRGB(int chartSymbolIndex, int chartPanelIndex, int colorZoneIndex, double bottomPrice, double topPrice, int[] backgroundColor, int[] strokeColor, C_DashStyle strokeStyle, int strokeThickness) |
||||||||||||||||||||||||||||||
Sets/modify a color zone in a specified chart panel. The color zone will be automatically shown on the chart panel (see the ChartPanelShowColorZone function to hide it). Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetCrosshairPens(int chartSymbolIndex, int chartPanelIndex, C_Color crosshairColor, C_DashStyle crosshairStyle, int crosshairThickness) |
||||||||||||||||||
Sets the crosshair pens of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetCrosshairPensRGB(int chartSymbolIndex, int chartPanelIndex, int[] crosshairColor, C_DashStyle crosshairStyle, int crosshairThickness) |
||||||||||||||||||
Sets the crosshair pens of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetFont(int chartSymbolIndex, int chartPanelIndex, string fontFamily, int fontSize) |
|||||||||||||||
Sets the font family and the font size of a specified chart panel. (See the ChartPanelSetForeground function to set the foreground color of a chart panel.) Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetForeground(int chartSymbolIndex, int chartPanelIndex, C_Color foregroundColor) |
||||||||||||
Sets the foreground color of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetForegroundRGB(int chartSymbolIndex, int chartPanelIndex, int[] foregroundColor) |
||||||||||||
Sets the foreground color of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetGridPens(int chartSymbolIndex, int chartPanelIndex, C_Color gridLinesColor, C_DashStyle gridLinesStyle, int gridLinesThickness) |
||||||||||||||||||
Sets the grid pens of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelSetGridPensRGB(int chartSymbolIndex, int chartPanelIndex, int[] gridLinesColor, C_DashStyle gridLinesStyle, int gridLinesThickness) |
||||||||||||||||||
Sets the grid pens of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPanelShowColorZone(int chartSymbolIndex, int chartPanelIndex, int colorZoneIndex, bool isEnabledColorZone) |
|||||||||||||||
Enables or disables a specified color zone. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
int ChartPatternPlot(int chartSymbolIndex, Pattern pattern, string label, int dataSeriesID, int chartPanelIndex) |
||||||||||||||||||
Plots a specified pattern on the chart. Returns The item ID of the plotted pattern. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPatternRemoveAll(int chartSymbolIndex) |
||||||
Removes all of the patterns from the chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPatternSetChartPanel(int chartSymbolIndex, int patternID, int chartPanelIndex) |
||||||||||||
Sets the chart panel on which to display a specified pattern. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPatternSetLabel(int chartSymbolIndex, int patternID, string label) |
||||||||||||
Sets the label of a specified pattern. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPatternSetPenByIndex(int chartSymbolIndex, int patternID, int penIndex, C_Color penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified pattern. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPatternSetPenByIndexRGB(int chartSymbolIndex, int patternID, int penIndex, int[] penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified pattern. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPatternSetPenByName(int chartSymbolIndex, int patternID, string penName, C_Color penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified pattern. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartPatternSetPenByNameRGB(int chartSymbolIndex, int patternID, string penName, int[] penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified pattern. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSetPeriods(int chartSymbolIndex, int numberOfPeriods) |
|||||||||
Sets the number of periods on the X axis of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSetProperties(int chartSymbolIndex, C_ChartProperties propertyToSet, bool boolValue) |
||||||||||||
Sets the properties of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
int ChartSignalPlot(int chartSymbolIndex, Signal signal, string label, int dataSeriesID, int chartPanelIndex) |
||||||||||||||||||
Plots a specified signal on the chart. Returns The item ID of the plotted signal. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSignalRemoveAll(int chartSymbolIndex) |
||||||
Removes all of the signals from the chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSignalSetChartPanel(int chartSymbolIndex, int signalID, int chartPanelIndex) |
||||||||||||
Sets the chart panel on which to display a specified signal. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSignalSetLabel(int chartSymbolIndex, int signalID, string label) |
||||||||||||
Sets the label of a specified signal. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSignalSetPenByIndex(int chartSymbolIndex, int signalID, int penIndex, C_Color penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified signal. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSignalSetPenByIndexRGB(int chartSymbolIndex, int signalID, int penIndex, int[] penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified signal. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSignalSetPenByName(int chartSymbolIndex, int signalID, string penName, C_Color penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified signal. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSignalSetPenByNameRGB(int chartSymbolIndex, int signalID, string penName, int[] penColor, C_DashStyle penStyle, int penThickness) |
|||||||||||||||||||||
Sets the pen of a specified signal. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartSignalShow(int chartSymbolIndex, int signalID, bool isVisibleSignal) |
||||||||||||
Shows or hides a specified signal. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetColors(int chartSymbolIndex, C_Color backgroundColor, C_Color foregroundColor) |
||||||||||||
Sets the colors of the X axis of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetColorsRGB(int chartSymbolIndex, int[] backgroundColor, int[] foregroundColor) |
||||||||||||
Sets the colors of the X axis of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetDateFormat(int chartSymbolIndex, string dateFormat) |
|||||||||
Sets the format of the date on the X axis of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetFont(int chartSymbolIndex, string fontFamily, int fontSize) |
||||||||||||
Sets the font family and the font size of the X axis of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetMarkerColors(int chartSymbolIndex, C_Color backgroundColor, C_Color foregroundColor) |
||||||||||||
Sets the colors of the X axis marker of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetMarkerColorsRGB(int chartSymbolIndex, int[] backgroundColor, int[] foregroundColor) |
||||||||||||
Sets the colors of the X axis marker of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetPen(int chartSymbolIndex, C_Color axisPenColor, C_DashStyle axisPenStyle, int axisPenThickness) |
|||||||||||||||
Sets the pen of the X axis line of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetPenRGB(int chartSymbolIndex, int[] axisPenColor, C_DashStyle axisPenStyle, int axisPenThickness) |
|||||||||||||||
Sets the pen of the X axis line of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetRightMargin(int chartSymbolIndex, int rightMargin) |
|||||||||
Sets the right margin of the X axis of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartXAxisSetTimeFormat(int chartSymbolIndex, string timeFormat) |
|||||||||
Sets the format of the time on the X axis of a specified chart. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetBottomMargin(int chartSymbolIndex, int chartPanelIndex, bool isPercentValue, double bottomMarginValue, bool isLeftAxis) |
||||||||||||||||||
Sets the bottom margin of the Y axis of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetColors(int chartSymbolIndex, int chartPanelIndex, C_Color backgroundColor, C_Color foregroundColor, bool isLeftAxis) |
||||||||||||||||||
Sets the colors of the Y axis of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetColorsRGB(int chartSymbolIndex, int chartPanelIndex, int[] backgroundColor, int[] foregroundColor, bool isLeftAxis) |
||||||||||||||||||
Sets the colors of the Y axis of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetDecimalRound(int chartSymbolIndex, int chartPanelIndex, int decimalPlaces, bool isLeftAxis) |
|||||||||||||||
Sets the number of decimal places on the Y axis of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetFont(int chartSymbolIndex, int chartPanelIndex, string fontFamily, int fontSize, bool isLeftAxis) |
||||||||||||||||||
Sets the font family and the font size of the Y axis of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetLinearScale(int chartSymbolIndex, int chartPanelIndex, bool isLeftAxis) |
||||||||||||
Sets the Y axis of a specified chart panel to linear scale. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetLogScale(int chartSymbolIndex, int chartPanelIndex, bool isLeftAxis) |
||||||||||||
Sets the Y axis of a specified chart panel to log scale. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetMajorUnit(int chartSymbolIndex, int chartPanelIndex, bool isAuto, double majorUnit, bool isLeftAxis) |
||||||||||||||||||
Sets the major unit of the Y axis of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetMarkerColors(int chartSymbolIndex, int chartPanelIndex, C_Color backgroundColor, C_Color foregroundColor, bool isLeftAxis) |
||||||||||||||||||
Sets the colors of the Y axis marker of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetMarkerColorsRGB(int chartSymbolIndex, int chartPanelIndex, int[] backgroundColor, int[] foregroundColor, bool isLeftAxis) |
||||||||||||||||||
Sets the colors of the Y axis marker of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetMaxValue(int chartSymbolIndex, int chartPanelIndex, bool isAuto, double maxValue, bool isLeftAxis) |
||||||||||||||||||
Sets the maximum Y value to display on a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetMinValue(int chartSymbolIndex, int chartPanelIndex, bool isAuto, double minValue, bool isLeftAxis) |
||||||||||||||||||
Sets the minimum Y value to display on a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetPen(int chartSymbolIndex, int chartPanelIndex, C_Color axisPenColor, C_DashStyle axisPenStyle, int axisPenThickness, bool isLeftAxis) |
|||||||||||||||||||||
Sets the pen of the Y axis line of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetPenRGB(int chartSymbolIndex, int chartPanelIndex, int[] axisPenColor, C_DashStyle axisPenStyle, int axisPenThickness, bool isLeftAxis) |
|||||||||||||||||||||
Sets the pen of the Y axis line of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetPercentScale(int chartSymbolIndex, int chartPanelIndex, bool isLeftAxis) |
||||||||||||
Sets the Y axis of a specified chart panel to percent scale. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetTopMargin(int chartSymbolIndex, int chartPanelIndex, bool isPercentValue, double topMarginValue, bool isLeftAxis) |
||||||||||||||||||
Sets the top margin of the Y axis of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartYAxisSetWidth(int chartSymbolIndex, int chartPanelIndex, int axisWidth, bool isLeftAxis) |
|||||||||||||||
Sets the width of the Y axis of a specified chart panel. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |
ChartZIndexSetValue(int chartSymbolIndex, int itemID, int zIndexValue) |
||||||||||||
Sets the Z-index of a specified element on the chart. An element with greater Z-index shows on the chart in front of another element with lower Z-index. Parameters
Scripts MultiSymbolTradingStrategy, TradingStrategy |