dotnetCHARTING Send comments on this topic.
TrueRange(SeriesCollection) Method
See Also 
dotnetCHARTING Namespace > FinancialEngine Class > TrueRange Method : TrueRange(SeriesCollection) Method


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.
True Range (TR) of a traded asset over a number of periods.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function TrueRange( _
   ByVal sc As SeriesCollection _
) As SeriesCollection
Visual Basic (Usage)Copy Code
Dim sc As SeriesCollection
Dim value As SeriesCollection
 
value = FinancialEngine.TrueRange(sc)
C# 
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.

See Also

© 2018 All Rights Reserved.