ChartDirector 6.0 (C++ Edition)

FinanceChart.addATR


Usage

XYChart *addATR(int height, int period, int color1, int 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.