Evaluates the x-day Average Daily True Range (ADTR) of an asset.
x, where the first element is the true range over the last trading session, the second value of the true range range over the previous trading session and so on.The value of the x-day Average of the Daily True Range.
This measure is often used as a measure of volatility. The ADTR is the simple moving average of daily true which can be evaluated using TrueRange.
| Exception Type | Condition |
|---|---|
| ArgumentException | Thrown if any element of the array is strictly negative. The elements of the trueRange array cannot be strictly negative since they represent the (positive) true range's (TRs) of an asset over a period. |
DirectionalMovementIndicator Class | WebCab.COM.Finance.Trading.Indicators Namespace | TrueRange - To evaluate the trueRange parameter.