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