ChartDirector 7.1 (.NET Edition)

FinanceChart.addATR


Usage

[C#]public XYChart addATR(int height, int period, int color1, int color2);
[VB]Public Function addATR(height As Integer, period As Integer, color1 As Integer, color2 As Integer) As XYChart

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.