ChartDirector 6.0 (Perl Edition)

FinanceChart.addVolIndicator


Usage

addVolIndicator(height, upColor, downColor, flatColor)

Description

Adds a Volume indicator chart.

Arguments

ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
upColor(Mandatory)The color to used on an 'up' day. An 'up' day is a day where the closing price is higher than that of the previous day.
downColor(Mandatory)The color to used on a 'down' day. A 'down' day is a day where the closing price is lower than that of the previous day.
flatColor(Mandatory)The color to used on a 'flat' day. A 'flat' day is a day where the closing price is the same as that of the previous day.

Return Value

A XYChart object representing the chart created.