The Exponential Moving Average Factor Difference is the difference of two
Exponential Moving Average Factors calculated on LAGFACTOR1 and LAGFACTOR2.
Public Function ExpMovAvgFactorDiff(ByVal EMAFDIn() As Double, ByVal LagFactor1 As Double, ByVal LagFactor2 As Double) As Double
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)