ChartDirector 6.0 (C++ Edition)

FinanceChart.addMassIndex


Usage

XYChart *addMassIndex(int height, int color, int upColor, int downColor);

Description

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 XYChart object representing the chart created.