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


s
A financial series where the first element contain the prices of last trading period, the second element represents the prices of the previous periods and so on. 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 s As Series _
) As Series
Visual Basic (Usage)Copy Code
Dim s As Series
Dim value As Series
 
value = FinancialEngine.TrueRange(s)
C# 
public static Series TrueRange( 
   Series s
)

Parameters

s
A financial series where the first element contain the prices of last trading period, the second element represents the prices of the previous periods and so on. Please note that in order to calculate this indicator the elements of the financial series must contain High, Low and Close values.

Return Value

An array where the k-term corresponds to the True Range (TR) on the k-th previous period.

See Also

© 2016 All Rights Reserved.