Average True Range
The Average True Range function computes an average of the True Range, which represents the range in price of a stock or commodity over the course of one day, or from one day to the next. Average True Range is used to indicate price volatility.
1. Syntax
AVGTRURANGE(d0,d1,d2,s0,Alignment)
2. Input
The Average True Range function requires the following input series:
- d0 - High data values - The first set of data values for which the Average True Range is calculated, usually the daily high price of a stock.
- d1 - Low data values - The second set of data values for which the Average True Range is calculated, usually the daily low price of a stock.
- d2 - Close data values - The third set of data values for which the Average True Range is calculated, usually the daily close price of a stock.
3. Parameters
The Average True Range function has the following parameter:
- s0 - Period - The number of time periods to use in the calculation. Default value is 14.
- Alignment (Optional) – Hierarchy placeholder to be used as the alignment axis.
4. Output
The Average True Range function generates the following output:
- Average True Range - The Average True Range result set.