ChartDirector 7.0 (Perl Edition)

FinanceChart.addATR


Usage

addATR(height, period, color1, color2)

Description

Adds an Average True Range indicators chart.

Arguments

ArgumentDefaultDescription
height(Mandatory)The height of the indicator chart in pixels.
period(Mandatory)The period to compute the indicator.
color1(Mandatory)The color of the True Range line.
color2(Mandatory)The color of the Average True Range line.

Return Value

A XYChart object representing the chart created.