Knowledgebase : Technical Support > API > Client API's/VTL > VTL Client Scripts > TA Functions
SYNTAX Public Sub MomentumOnArray (Ary As Variant, Period As Integer, ByRef result As Variant) A procedure that calculates the Momentum indicator based on a custom array and the result passed by result parameter as an array, each index of the result a...
SYNTAX Public Sub RelativeStrengthIndexOnArray(Ary As Variant, Period As Integer, ByRef result As Variant) A procedure that calculates the Relative strength index based on a custom array and the result passed by result parameter as an array, each inde...
SYNTAX Public Sub WeightedMovingAverageOnArray(Ary As Variant, Period As Integer, ByRef result As Variant) A procedure that calculates weighted moving average based on a custom array, and the result passed by result Parameter as an array, each index o...
SYNTAX Public Sub TimeSeriesForecastOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates the Time Series Forecast based on a custom array, and the result passed by result parameter as an array, ea...
SYNTAX Public Sub StochRSIOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates the StochRSI based on a custom array, and the result passed by result parameter as an array, each index of the result...
SYNTAX Public Sub NeuralIndicatorOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByVal LearningRate As Double, ByVal Epochs As Long, ByVal PercentTrain As Integer, ByRef Result As Variant) A procedure that calculates the Neural Indicator based ...
SYNTAX Public Sub KeltnerOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByVal Factor As Double, ByRef Result As Variant) A procedure that calculates Keltner based on a custom array, and the result passed by result parameter as an array, each i...
SYNTAX Public Sub GoldenDeathCrossOnArray(ByVal Ary As Variant, ByVal ShortTerm As Integer, ByVal MediumTerm As Integer, ByVal LongTerm As Integer, ByVal MA_Type As Integer, ByRef Result As Variant) A procedure that calculates Golden Death Cross based...
SYNTAX Public Sub IWMAOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Price Weighted Moving Average based on a custom array, and the result passed by result parameter as an array, each index ...
  SYNTAX Public Sub iBandsOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByVal StandardDeviation As Integer, ByVal MA_Type As Integer, ByRef Result As Variant) A procedure that calculates iBands based on a custom array, and the result passed...
  SYNTAX Public Sub WilliamsAccumulationDistributionOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByRef Result As Variant) A procedure that calculates Williams Accumulation Distributi...
  SYNTAX Public Sub WellesWilderSmoothingOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Welles Wilder Smoothing based on a custom array, and the result passed by result parameter as an arr...
  SYNTAX Public Sub WeightedCloseOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByRef Result As Variant)  A procedure that calculates Weighted Close based on a custom array, and the re...
  SYNTAX Public Sub VerticalHorizontalFilterOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Vertical Horizontal Filter based on a custom array, and the result passed by result parameter as ...
  SYNTAX Public Sub UltimateOscillatorOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal Cycle1 As Integer, ByVal Cycle2 As Integer, ByVal Cycle3 As Integer, ByVal Result As Variant) ...
  SYNTAX Public Sub TypicalPriceOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByRef Result As Variant) A procedure that calculates TypicalPrice based on a custom array, and the result...
  SYNTAX Public Sub TRIXOnArray(ByVal Ary As Variant, ByVal Period As Double, ByRef Result As Variant) A procedure that calculates TRIX based on a custom array, and the result passed by result parameter as an array, each index of the result array re...
  SYNTAX Public Sub SwingIndexOnArray(ByVal Ary As Variant, ByVal LimitMoveValue As Double, ByRef Result As variant) A procedure that calculates Swing Index based on a custom array, and the result passed by result parameter as an array, each index o...
  SYNTAX Public Sub StochasticMomentumIndexOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal kPeriod As Integer, ByVal kSmooth As Integer, ByVal kDoubleSmooth As Integer, ByVal Dperio...
  SYNTAX Public Sub RainbowOscillatorOnArray(ByVal Ary As Variant, ByVal Levels As Integer, ByVal MA_Type As Integer,  ByRef Result As Variant) A procedure that calculates Rainbow Oscillator based on a custom array, and the result passed by result p...
  SYNTAX Public Sub PrimeNumberOscillatorOnArray(ByVal Ary As Variant, ByRef Result As Variant) A procedure that calculates Prime Number Oscillator based on a custom array, and the result passed by result parameter as an array, each index of the res...
  SYNTAX Public Sub PrimeNumberBandsOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByRef Result As Variant, ByVal mode As INDICATOR_LINES) A procedure that calculates Prime Number Band...
  SYNTAX Public Sub PriceROCOnArray(ByVal Ary As Variant, ByVal Period _Type  As Integer, ByRef Result As Variant) A procedure that calculates Price ROC based on a custom array, and the result passed by result parameter as an array, each index of th...
  SYNTAX Public Sub PriceOscillatorOnArray(ByVal Ary As Variant, ByVal LongCycle As Integer, ByVal ShortCycle As Integer, ByVal MA_Type  As Integer, ByRef Result As Variant) A procedure that calculates Detrend Price Oscillator based on a custom arra...
  SYNTAX Public Sub PerformanceOnArray(ByVal Ary As Variant, ByRef Result As Variant) A procedure that calculates Performance based on a custom array, and the result passed by result parameter as an array, each index of the result array represent in...
  SYNTAX Public Sub MedianPriceOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByRef Result As Variant) A procedure that calculates Median Price based on a custom array, and the result ...
  SYNTAX Public Sub MassIndexOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant,ByVal Period As Integer ,ByRef Result As Variant) A procedure that calculates Mass Index based on a custom ar...
  SYNTAX Public Sub RegressionOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant, ByVal Mode As REGRESSIONEnum) A procedure that calculates Regression based on a custom array, and the result passed by result parameter as ...
  SYNTAX Public Sub HighLowBandsOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal Period As Integer, ByRef Result As Variant, ByRef HighLowBandsTop As Variant, ByRef HighLowBandsBotto...
  SYNTAX Public Sub HighMinusLowOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByRef Result As Variant) A procedure that calculates HighMinusLow based on a custom array, and the result...
  SYNTAX Public Sub ChaosFractalOscillatorOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates ChaosFractalOscil...
  SYNTAX Public Sub ComparativeRelativeStrengthOnArray(ByVal Ary1 As Variant,ByVal Ary2 As Variant ,ByRef Result As Variant) A procedure that calculates Comparative Relative Strength based on a custom array, and the result passed by result parameter...
  SYNTAX Public Sub FractalChaosBandsOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal Period As Integer, ByVal mode As INDICATOR_LINES, ByRef Result As Variant) A procedure that ca...
  SYNTAX Public Sub EaseOfMovementOnArray(ByVal OpenAry As Variant,ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant , ByVal Period As Integer, ByVal MA_Type As Integer, ByRef Result As Variant) A procedure that calculates...
  SYNTAX Public Sub ChaikinVolatility(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal Period As Integer, ByVal ROC As Integer, ByVal MA_method As Integer, ByRef Result As Variant) A proce...
  SYNTAX Public Sub ChaikinMoneyFlowOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Chaikin Money Flow, bas...
  SYNTAX Public Sub AroonOnArray(ByVal Ary As Variant, ByVal Period As Integer,  ByRef Result As Variant, ByVal mode As INDICATOR_LINES) A procedure that calculates Aroon, based on a custom array, and the result passed by result parameter as an arra...
  SYNTAX Public Sub AccumulativeSwingIndexOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant,ByVal CloseAry As Variant, ByVal LimitMoveValue As Double, ByRef Result As Variant) A procedure that calculates Accumulativ...
  SYNTAX Public Sub MoneyFlowIndexOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates MoneyFlowIndexOnArray based on a custom array, and the result passed by result parameter as an array, each ...
  SYNTAX Public Sub StandardDeviationOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByVal StandardDeviation As Integer, ByVal MA_Type As Integer, ByRef Result As Variant) A procedure that calculates Standard Deviation, based on a custom arra...
  SYNTAX Public Sub MACDOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal SignalPeriod As Integer, ByVal FastEMA As Integer, ByVal SlowEMA As Integer, ByRef Result As Variant, ByRef S...
  SYNTAX Public Sub ParabolicSAROnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByRef Result As Variant, Optional ByVal MinAF As Double = 0.02, Optional ByVal MaxAF As Double = 0.2) A p...
  SYNTAX Public Sub VIDYAOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByVal R2Scale As Double, ByRef Result As Variant) A procedure that calculates VIDYA, based on a custom array, and the result passed by result parameter as an array, each...
  SYNTAX Public Sub VariableMovingAverageOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Variable Moving Average, based on a custom array, and the result passed by result parameter as an ar...
  SYNTAX Public Sub TriangularMovingAverageOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Triangular Moving Average, based on a custom array, and the result passed by result parameter as a...
  SYNTAX Public Sub TimeSeriesmovingAverageOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Time Series moving Average, based on a custom array, and the result passed by result parameter as ...
  SYNTAX Public Sub SimpleMovingAverageOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByVal Result As Variant) A procedure that calculates Simple Moving Average, based on a custom array, and the result passed by result parameter as an array,...
  SYNTAX Public Sub ExponentialMovingAverage(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates ExponentialMovingAverage, based on a custom array, and the result passed by result parameter as an array...
SYNTAX Public Sub DirectionalMovementSystemOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal Period As Integer, ByRef Result As Variant, ByRef UpDMI As Variant, ByRef DnDMI As Variant) ...
SYNTAX Public Sub CommodityChannelIndexOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Commodity Channel Inde...
SYNTAX Public Sub WilliamsPctROnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Williams%, based on a custom ar...
SYNTAX Public Sub StochasticOScillatorOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry As Variant, ByVal CloseAry As Variant, ByVal kPeriod As Integer, ByVal KSlowingPeriod As Integer, ByVal Dperiod As Integer, ByVal MA_Type  As ...
SYNTAX Public Sub LinearMomentumOscillatorOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByRef Result As Variant) A procedure that calculates Linear Momentum Oscillator, based on a custom array, and the result passed by result parameter as an ...
SYNTAX Public Sub DetrendedPriceOscillatorOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByVal MA_Type As Integer, ByRef Result As Variant) A procedure that calculates Detrended Price Oscillator, based on a custom array, and the result passed ...
SYNTAX Public Sub AverageTrueRangeOnArray(ByVal OpenAry As Variant, ByVal HighAry As Variant, ByVal LowAry  As Variant, ByVal CloseAry As Variant, ByRef Result As Variant, Optional Period As Integer = 14)  A procedure that calculates The Average True ...
SYNTAX Public Sub MAEnvelopeOnArray(ByVal Ary As Variant, ByVal Period As Integer, ByVal MA_Type  As Integer, ByVal Shift As Double, ByVal Mode As INDICATOR_LINES [http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/3521] , ByR...
Help Desk Software by Hybrid Solutions