WebCab Technical Analysis for COM v1.1

DirectionalMovementIndicator.TrueRange Method 

Finds the True Range (TR) for a given traded asset over a given period.

public double TrueRange(
   double high,
   double low,
   double previousClose
);

Parameters

high
The highest traded value of the last trading period.
low
The lowest traded value of the last trading period.
previousClose
The closing price of the asset on the preceding trading period.

Return Value

A double which represents the value of the True Range of the consider asset for the latest trading period.

Remarks

Also, described as the True Range (TR) of the current bar.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown if any of the parameters high, low or previousClose is a strictly negative number.

See Also

DirectionalMovementIndicator Class | WebCab.COM.Finance.Trading.Indicators Namespace | AverageDailyTrueRange - Evaluates the x-day Average of the Daily True Range (ADTR). | TrueRangePeriod - Evaluate the True Range (TR) over a number of trading periods.