Exponential Moving Average Factor Difference

The Exponential Moving Average Factor Difference is the difference of two Exponential Moving Average Factors calculated on LAGFACTOR1 and LAGFACTOR2.

Syntax:

Public Function ExpMovAvgFactorDiff(ByVal EMAFDIn() As Double, ByVal LagFactor1 As Double, ByVal LagFactor2 As Double) As Double

Parameters:

  • ByVal EMAFDIn() As Double
  • ByVal LagFactor1 As Double
  • ByVal LagFactor2 As Double

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.ExpMovAvgFactorDiff(CloseValues, 0.15, 0.075)

 


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

Browser Based Help. Published by chm2web software.