ChartDirector 5.1 (.NET Edition)

FinanceChart.addBollingerBand


Usage

[VB] Public Function addBollingerBand(period As Integer, bandWidth As Double, lineColor As Integer, fillColor As Integer) As InterLineLayer
[C#] public 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.