ChartDirector Ver 4.1 (ColdFusion Edition)

FinanceChart.addMACD


Usage

addMACD(height, period1, period2, period3, color, signalColor, divColor)

Description

Adds a MACD indicator chart.

Arguments

ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period1(Mandatory)The first moving average period to compute the indicator.
period2(Mandatory)The second moving average period to compute the indicator.
period3(Mandatory)The moving average period of the signal line.
color(Mandatory)The color of the indicator line.
signalColor(Mandatory)The color of the signal line.
divColor(Mandatory)The color of the divergent bars.

Return Value

A XYChart object representing the chart created.