ChartDirector 6.0 (C++ Edition)

FinanceChart.addDonchianChannel


Usage

InterLineLayer *addDonchianChannel(int period, int lineColor, int fillColor);

Description

Adds a Donchian channel to the main chart.

Arguments

ArgumentDefaultDescription
period(Mandatory)The period to compute the band.
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.