[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 |
ChartDirector 7.1 (.NET Edition)
FinanceChart.
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
Arguments
Argument | Default | Description |
---|---|---|
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