ChartDirector 6.2 (.NET Edition)

FinanceChart.addVolIndicator


Usage

[C#] public XYChart addVolIndicator(int height, int upColor, int downColor, int flatColor);
[VB] Public Function addVolIndicator(height As Integer, upColor As Integer, downColor As Integer, flatColor As Integer) As XYChart

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.