ChartDirector 7.1 (C++ Edition)

FinanceChart.addBand


Usage

InterLineLayer *addBand(DoubleArray upperLine, DoubleArray lowerLine, int lineColor, int fillColor, string name);

Description

Adds a generic band to the main finance chart. This method is used internally by other methods to add various bands (eg. Bollinger band, Donchian channels, etc).

Arguments

ArgumentDefaultDescription
upperLine(Mandatory)The data series for the upper band line.
lowerLine(Mandatory)The data series for the lower band line.
lineColor(Mandatory)The color of the upper and lower band line.
fillColor(Mandatory)The color to fill the region between the upper and lower band lines.
name(Mandatory)The name of the band.

Return Value

An InterLineLayer object representing the filled region.