True Range

The True Range is a measure of volatility introduced by Welles Wilder in his book: New Concepts in Technical Trading Systems.

The True Range indicator is the greatest of the following:

  • current high less the current low.
  • the absolute value of the current high less the previous close.
  • the absolute value of the current low less the previous close.

Syntax:

Public Function TrueRange(ByVal HLOCV()() As Double) As Double

Parameters:

  • ByVal HLOCV()() As Double

Back to list

 

Example:

 

    Dim TA4Net As New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE")

    Dim Result() As Double

    Dim HLOCV(,) As Double

 

    ' loading values to array

    HLOCV = GetHLOCVValues()

    ' calculating Technical Analysis function

    Result = TA4Net.TrueRange(HLOCV)

 


TA4.NET® Franz AG 2004©
Web site: http://www.ta4.net
e-mail: support@ta4.net

Browser Based Help. Published by chm2web software.