ChartDirector 6.0 (C++ Edition)

FinanceChart.addBollingerBand


Usage

InterLineLayer *addBollingerBand(int period, double bandWidth, int lineColor, int fillColor);

Description

Adds a Bollinger band to the main chart.

Arguments

ArgumentDefaultDescription
period(Mandatory)The period to compute the band.
bandWidth(Mandatory)The half-width of the band in terms multiples of standard deviation. Typically 2 is used.
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 InterLineLayer object representing the band created.