Exponential Moving Average DifferenceThe Exponential Moving Average Difference is the difference of two Exponential Moving Averages calculated on PERIOD1 and PERIOD2 time periods. Syntax:Public Function ExpMovAvgDiff(ByVal EMADIn() As Double, ByVal Lag1 As Long, ByVal Lag2 As Long) As Double Parameters:
Example:
Dim TA4Net As New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE") Dim Result() As Double Dim CloseValues() As Double
' loading values to arrays CloseValues = GetCloseValues() ' calculating Technical Analysis function Result = TA4Net.ExpMovAvgDiff(CloseValues, 12, 26)
|
|
TA4.NET® Franz AG
2004© |
| Browser Based Help. Published by chm2web software. |