[VB] | Public Function addATR(height As Integer, period As Integer, color1 As Integer, color2 As Integer) As XYChart |
[C#] | public XYChart addATR(int height, int period, int color1, int color2); |
ChartDirector 5.1 (.NET Edition)
FinanceChart.addATR
Usage
[VB] | Public Function addATR(height As Integer, period As Integer, color1 As Integer, color2 As Integer) As XYChart |
[C#] | public XYChart addATR(int height, int period, int color1, int color2); |
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