Negative Changes Sum

Returns the sum of all negative value changes for last PERIOD time periods.

Syntax:

Public Function NegativeChangesSum(ByVal NCSIn() As Double, ByVal Lag As Long) As Double

Parameters:

  • ByVal NCSIn() As Double
  • ByVal Lag As Long

Back to list

 

Example:

 

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

    Dim Result() As Double

    Dim CloseValues() As Double

  

    ' loading values to array

    CloseValues = GetCloseValues()

    ' calculating Technical Analysis function

    Result = TA4Net.NegativeChangesSum(CloseValues, 14)

 


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

Browser Based Help. Published by chm2web software.