Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDFinanceChartMBS class.

Previous items Next items

CDFinanceChartMBS.addEaseOfMovement(height as Integer, period as Integer, ColorValue1 as color, ColorValue2 as color) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addEaseOfMovement method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addEaseOfMovement(height as Integer, period as Integer, ColorValue1 as Integer, ColorValue2 as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Ease of Movement indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period(Mandatory)The period to smooth the indicator.
color1(Mandatory)The color of the indicator line.
color2(Mandatory)The color of the smoothed indicator line.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addEnvelop(period as Integer, range as Double, lineColor as color, FillColor as color) as CDInterLineLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addEnvelop method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addEnvelop(period as Integer, range as Double, lineColor as Integer, FillColor as Integer) as CDInterLineLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a price envelop to the main chart.

The price envelop is a defined as a ratio around a moving average. For example, a ratio of 0.2 means 20% above and below the moving average.

Arguments:
ArgumentDefaultDescription
period(Mandatory)The period for the moving average.
range(Mandatory)The ratio above and below the moving average.
lineColor(Mandatory)The color of the lines defining the upper and lower limits.
fillColor(Mandatory)The color to fill the regional within the band.

Return Value
An CDInterLineLayerMBS object representing the band created.

See also:

CDFinanceChartMBS.addExpMovingAvg(period as Integer, ColorValue as color) as CDLineLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addExpMovingAvg method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addExpMovingAvg(period as Integer, ColorValue as Integer) as CDLineLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds an exponential moving average line on the main chart.

Arguments:
ArgumentDefaultDescription
period(Mandatory)The moving average period
color(Mandatory)The color of the line.

Return Value
A CDLineLayerMBS object representing the line created.

See also:

CDFinanceChartMBS.addFastStochastic(height as Integer, period1 as Integer, period2 as Integer, ColorValue1 as color, ColorValue2 as color) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addFastStochastic method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addFastStochastic(height as Integer, period1 as Integer, period2 as Integer, ColorValue1 as Integer, ColorValue2 as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Fast Stochastic indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period1(Mandatory)The period to compute the %K line.
period2(Mandatory)The period to compute the %D line.
color1(Mandatory)The color of the %K line.
color2(Mandatory)The color of the %D line.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addHLOC(upColor as color, downColor as color) as CDHLOCLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addHLOC method, but uses color instead of integer data type for passing color values.

See also:

Some examples using this method:

CDFinanceChartMBS.addHLOC(upColor as Integer, downColor as Integer) as CDHLOCLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a HLOC layer to the main chart.

Arguments:
ArgumentDefaultDescription
upColor(Mandatory)The candle color for a up day.
downColor(Mandatory)The candle color for a down day.

Return Value
A CDHLOCLayerMBS object representing the HLOC layer created.

See also:

CDFinanceChartMBS.addIndicator(height as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a blank indicator chart to the finance chart.

Used internally to add other indicators. Override to change the default formatting (eg. axis fonts, etc.) of the various indicators.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the chart in pixels.

Return Value
A CDXYChartMBS object representing the chart created.

CDFinanceChartMBS.addLineIndicator(chart as CDXYChartMBS, data() as Double, ColorValue as color, name as string) as CDLineLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addLineIndicator method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addLineIndicator(chart as CDXYChartMBS, data() as Double, ColorValue as Integer, name as string) as CDLineLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a line to an existing indicator chart.

Arguments:
ArgumentDefaultDescription
c(Mandatory)The indicator chart to add the line to.
data(Mandatory)The data series of the indicator line.
color(Mandatory)The color of the indicator line.
name(Mandatory)The name of the indicator.

Return Value
A CDLineLayerMBS object representing the line created.

See also:

CDFinanceChartMBS.addLineIndicator(height as Integer, data() as Double, ColorValue as Integer, name as string) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a generic line indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
data(Mandatory)The data series of the indicator line.
color(Mandatory)The color of the indicator line.
name(Mandatory)The name of the indicator.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addMACD(height as Integer, period1 as Integer, period2 as Integer, period3 as Integer, ColorValue as Integer, signalColor as Integer, divColor as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a MACD indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period1(Mandatory)The first moving average period to compute the indicator.
period2(Mandatory)The second moving average period to compute the indicator.
period3(Mandatory)The moving average period of the signal line.
color(Mandatory)The color of the indicator line.
signalColor(Mandatory)The color of the signal line.
divColor(Mandatory)The color of the divergent bars.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addMainChart(height as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds the main chart - the chart that shows the data for the prices.

The chart added is initially empty. Other methods, such as CDFinanceChartMBS.addCandleStick and CDFinanceChartMBS.addSimpleMovingAvg, may be used to add various layers to the chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the main chart in pixels.

Return Value
A CDXYChartMBS object representing the main chart created.

Some examples using this method:

CDFinanceChartMBS.addMassIndex(height as Integer, ColorValue as color, upColor as color, downColor as color) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addMassIndex method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addMassIndex(height as Integer, ColorValue as Integer, upColor as Integer, downColor as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Mass Index indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
color(Mandatory)The color of the indicator line.
upColor(Mandatory)The fill color when the indicator exceeds the upper threshold line.
downColor(Mandatory)The fill color when the indicator falls below the lower threshold line.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addMedianPrice(ColorValue as color) as CDLineLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addMedianPrice method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addMedianPrice(ColorValue as Integer) as CDLineLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a median price line on the main chart.

Arguments:
ArgumentDefaultDescription
color(Mandatory)The color of the line.

Return Value
A CDLineLayerMBS object representing the line created.

See also:

CDFinanceChartMBS.addMFI(height as Integer, period as Integer, ColorValue as Integer, range as Double, upColor as Integer, downColor as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Money Flow Index indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period(Mandatory)The period to compute the indicator.
color(Mandatory)The color of the indicator line.
range(Mandatory)The distance between the middle line and the upper and lower threshold lines.
upColor(Mandatory)The fill color when the indicator exceeds the upper threshold line.
downColor(Mandatory)The fill color when the indicator falls below the lower threshold line.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addMomentum(height as Integer, period as Integer, ColorValue as color) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addMomentum method, but uses color instead of integer data type for passing color values.

See also:

Some examples using this method:

CDFinanceChartMBS.addMomentum(height as Integer, period as Integer, ColorValue as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Momentum indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period(Mandatory)The period to compute the indicator.
color(Mandatory)The color of the indicator line.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addNVI(height as Integer, period as Integer, ColorValue as color, signalColor as color) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addNVI method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addNVI(height as Integer, period as Integer, ColorValue as Integer, signalColor as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Negative Volume Index indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period(Mandatory)The period to compute the signal line.
color(Mandatory)The color of the indicator line.
signalColor(Mandatory)The color of the signal line.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addOBV(height as Integer, ColorValue as color) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addOBV method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addOBV(height as Integer, ColorValue as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds an On Balance Volume indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
color(Mandatory)The color of the indicator line.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addParabolicSAR(accInitial as Double, accIncrement as Double, accMaximum as Double, symbolType as Integer, symbolSize as Integer, fillColor as Integer, edgeColor as Integer) as CDLineLayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a parabolic SAR indicator to the main chart.

Arguments
ArgumentDefaultDescription
accInitial(Mandatory)The initial acceleration. A common value to use is 0.02.
accIncrement(Mandatory)The incremental acceleration. A common value to use is 0.02.
accMaximum(Mandatory)The maximum acceleration. A common value to use is 0.2.
symbolType(Mandatory)The symbol used to plot the parabolic SAR. One of the predefined shape constants representing the symbol shape. See Shape Specification for the available built-in shapes.
symbolSize(Mandatory)The width and height of the symbol in pixels
fillColor(Mandatory)The color used to fill the symbol.
edgeColor(Mandatory)The edge color used to draw the edge of the symbol.

Return Value
A CDLineLayerMBS object representing the parabolic SAR created.

See also:

CDFinanceChartMBS.addPerformance(height as Integer, ColorValue as color) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addPerformance method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addPerformance(height as Integer, ColorValue as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Performance indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
color(Mandatory)The color of the indicator line.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addPlotAreaTitle(alignment as Integer, text as string) as CDTextBoxMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a text title above the plot area.

You may add multiple title above the plot area by calling this method multiple times.

Arguments:
ArgumentDefaultDescription
alignment(Mandatory)The alignment with respect to the region that is on top of the plot area. See Alignment Specification for supported alignment types.
text(Mandatory)The text to add.

Return Value
The CDTextBoxMBS object representing the text box above the plot area, which may be used to fine-tune the appearance of the text.

CDFinanceChartMBS.addPPO(height as Integer, period1 as Integer, period2 as Integer, period3 as Integer, ColorValue as Integer, signalColor as Integer, divColor as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Percentage Price Oscillator indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period1(Mandatory)The first moving average period to compute the indicator.
period2(Mandatory)The second moving average period to compute the indicator.
period3(Mandatory)The moving average period of the signal line.
color(Mandatory)The color of the indicator line.
signalColor(Mandatory)The color of the signal line.
divColor(Mandatory)The color of the divergent bars.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addPVI(height as Integer, period as Integer, ColorValue as color, signalColor as color) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other addPVI method, but uses color instead of integer data type for passing color values.

See also:

CDFinanceChartMBS.addPVI(height as Integer, period as Integer, ColorValue as Integer, signalColor as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Positive Volume Index indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period(Mandatory)The period to compute the signal line.
color(Mandatory)The color of the indicator line.
signalColor(Mandatory)The color of the signal line.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

CDFinanceChartMBS.addPVO(height as Integer, period1 as Integer, period2 as Integer, period3 as Integer, ColorValue as Integer, signalColor as Integer, divColor as Integer) as CDXYChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a Percentage Volume Oscillator indicator chart.

Arguments:
ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period1(Mandatory)The first moving average period to compute the indicator.
period2(Mandatory)The second moving average period to compute the indicator.
period3(Mandatory)The moving average period of the signal line.
color(Mandatory)The color of the indicator line.
signalColor(Mandatory)The color of the signal line.
divColor(Mandatory)The color of the divergent bars.

Return Value
A CDXYChartMBS object representing the chart created.

See also:

Previous items Next items

The items on this page are in the following plugins: MBS ChartDirector Plugin.


The biggest plugin in space...