.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > FinancialEngine Class > TrueRange Method : TrueRange(SeriesCollection) Method
A collection of financial series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.Please note that in order to calculate this indicator the elements of the financial series must contain High, Low and Close values.
TrueRange(SeriesCollection) Method
True Range (TR) of a traded asset over a number of periods.
Syntax
'Declaration
 
Public Overloads Shared Function TrueRange( _
   ByVal sc As SeriesCollection _
) As SeriesCollection
'Usage
 
Dim sc As SeriesCollection
Dim value As SeriesCollection
 
value = FinancialEngine.TrueRange(sc)
public static SeriesCollection TrueRange( 
   SeriesCollection sc
)

Parameters

sc
A collection of financial series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.Please note that in order to calculate this indicator the elements of the financial series must contain High, Low and Close values.

Return Value

A collections of series. Each series has the k-th term corresponds to the True Range (TR) on the k-th previous period.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also