Calculates Accumulation/distribution indicator (A/D) values based on given OHLC and Volume values.
An array of Accumulation/Distribution values, or null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Volume values.
Calculates Accumulative Swing Index (ASI) values using given data and maximum price change (limit move) values.
An array of Accumulative Swing Index values, or null if calculations are not possible with given values.
OHLC-data Open values.
OHLC-data High values.
OHLC-data Low values.
OHLC-data Close values.
Maximum price change in one direction.
Calculates Aroon Up and Aroon Down values using given number of time periods (n).
An array containing two arrays, the first one has Aroon Up values and the second one Aroon Down values. Returns null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Time period count.
Calculates Aroon Oscillator values using given number of time periods (n).
An array of Aroon Oscillator values, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values
Time period count.
Calculates Average Daily Range values using given number of time periods (n).
An array of Average Daily Range values, or null if calculations are not possible with given values.
OHLC data High values.
OHLC data Low values.
Time period count.
Calculates Average Directional Index (ADX) values. Returns also values for Directional Movement Indicators (-DI and +DI).
An array containing three arrays, the first one has ADX values, the second one -DI values, and the third one +DI values. Returns null if calculations are not possible with given values.
OHLC data Close values.
OHLC data High values.
OHLC data Low values.
Period count.
Calculates Average True Range values using given number of time periods (n).
An array of Average True Range values, or null if calculations are not possible with given values.
OHLC data Close values.
OHLC data High values.
OHLC data Low values.
Period count.
Calculates Awesome Oscillator values using given short-term and long-term time period counts.
An array of Awesome Oscillator values, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Short-term period count.
Long-term period count.
Calculates Balance of Power (BOP) values using given moving average type and number of time periods (n) for smoothing.
An array of Balance of Power values, or null if calculations are not possible with given values.
OHLC-data Open values.
OHLC-data High values.
OHLC-data Low values.
OHLC-data Close values.
Time period count.
Moving average type used for smoothing the indicator values.
Calculates Bollinger Band values based on given number of time periods.
An array containing three arrays. The first array has the middle band values, the second has the upper band values, and the third one the lower band values. Returns null if calculations are not possible with given parameters.
Data values used as a basis for calculations, most commonly OHLC-data Close values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Period count.
Number of standard deviations between the moving average line and the upper and the lower bands.
Calculates Center of Gravity (COG) values using given number of time periods (n).
An array containing two arrays: the first one has COG values and the second one Signal values.
Data values to calculate from.
Period count.
Period count for the Signal line.
Calculates Chaikin Money Flow values using given number of time periods.
An array of Chaikin Money Flow values, or null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Volume values.
Period count.
Calculates Chaikin Oscillator values using given number of fast and slow time periods.
An array of Chaikin Oscillator values, or null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Volume values.
Fast period count.
Slow period count.
Calculates Chaikin Volatility using given values and moving average.
An array of Chaikin Volatility values, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Period count for Chaikin Volatility.
Period count for the moving average used in calculations.
The type of the moving average used in calculations.
Calculates Chande Forecast Oscillator (CFO) values using given number of time periods (n).
An array of CFO values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Calculates Chande Momentum Oscillator (CMO) values using given number of time periods (n).
An array of CMO values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Calculates Choppiness Index (CHOP) values using given number of time periods (n).
Array of Choppiness Index values, or null if calculation is not possible with given values.
OHLC data Close values.
OHLC data High values.
OHLC data Low values.
Period count.
Calculates Commodity Channel Index (CCI) values using given number of time periods (n).
Array of Commodity Channel Index values, or null if calculation is not possible with given values.
OHLC data Close values.
OHLC data High values.
OHLC data Low values.
Period count.
Calculates Coppock Curve values using given time period counts.
An array of Coppock Curve values, or null if calculations are not possible with given values.
Data values to calculate from.
Period count for long Rate of Change.
Period count for short Rate of Change.
Period count for Weighted Moving Average.
Calculates Correlation Coefficient between the two given datasets. If the datasets are of different length, the first values of the longer set are excluded from the calculations.
An array of Correlation Coefficient values, or null if calculations are not possible with given values.
First dataset values.
Second dataset values.
Time period count.
Calculates Detrended Price Oscillator (DPO) values using given moving average type and number of time periods (n).
An array of DPO values, or null if calculations are not possible with given values.
Data values to calculate from.
Period count.
Moving average to use during calculations.
Calculates values for Donchian Channels using given period count (n).
An array containing three arrays. The first array has the upper band values, the second has the lower band values, and the third one the middle band values. Returns null if calculations are not possible with given parameters.
OHLC data High values.
OHLC data Low values.
Period count.
Calculates Ease of Movement (EOM) values based on given number of time periods (n).
An array of EOM values, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Volume values.
Period count.
Scale for the Volume values to keep them compatible with the other values.
Moving average to use during calculations.
Calculates Ehler Fisher Transform (EFT) values based on given time period counts.
An array containing two arrays: the first one has EFT-values and the second one Signal values. Returns null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
The number of overall time periods (lookup periods).
The number of time periods used for raw smoothing before fisher transform.
The number of time periods used for final smoothing with EMA.
The number of time periods used to calculate the signal line.
Calculates Elder-Ray Index (Elder-Ray Power Indicator) using given moving average type and number of time periods (n).
An array containing two arrays: the first one has Bull Power values and the second one Bear Power values. Returns null if calculations are not possible with given values.
Data values used as a basis for calculations, most commonly OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Period count.
The type of the used moving average.
Calculates custom Elder Thermometer using given number of time periods.
An array containing two arrays: Thermometer Bull values and Thermometer Bear values.
OHLC-data High values.
OHLC-data Low values.
Time period count.
Calculates Elder's Force Index (EFI) using the given number of time periods (n).
An array of EFI values, or null if calculations are not possible with given values.
Data values to calculate from.
Volume values.
Period count.
Calculates Exponential Moving Average using given number of time periods (n).
Array of Exponential Moving Average values, or null if averaging is not possible for the given values.
Data values to calculate from.
The number of values to use in averaging each round (period count).
Calculates Fractal Chaos Bands based on the given values and number of time periods.
An array containing two arrays; the first one has the upper band values and the second lower band values. Returns null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
The number of bars/candles needed to form a fractal.
Calculates Fractal Chaos Oscillator (FCO) using given number of time periods.
An array of FCO values, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
The number of bars/candles needed to form a fractal.
Calculates Gopalakrishnan Range Index (GAPO) values based on given number of time periods (n).
An array of GAPO values, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Period count.
Calculates High Low Bands based on given data values and period count. Uses Triangular Moving Average to calculate the middle band.
An array containing three arrays. The first array has the middle band values, the second has the upper band values, and the third one the lower band values. Returns null if calculations are not possible with given parameters.
Data values to calculate from.
Period count.
Percentage of the TMA line to position the upper and lower bands.
Calculates High Minus Low values.
An array of High Minus Low values, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Calculates Historical Volatility Index (HVI) using given number of time periods.
An array of HVI values, or null if calculations are not possible with given values.
Data values to calculate from.
Period count.
The number of time periods used for annualizing the indicator.
The number of standard deviations used in calculations.
Whether Simple Moving average is used to smooth the standard deviations values during the calculations.
Calculates Hull Moving Average using given number of time periods (n).
Array of Hull Moving Average values, or null if averaging is not possible for the given values.
Data values to calculate from.
The number of values to use in averaging each round (period count).
Calculates various values related to Ichimoku Cloud. Does not return Chikou Span (Lagging Span) values, since they are the same as OHLC-data Close values. Also, Close values are not needed in the calculations. The returned data does not contain X-values or moving data forward or back.
An array of arrays containing: -Array of Tenkan-Sen (Conversion Line) values. -Array of Kijun-Sen (Base Line) values. -Array of Senkou Span A (Leading Span A) values. -Array of Senkou Span B (Leading Span B) values. Returns null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Tenkan-Sen (Conversion Line) period count.
Kijun-Sen (Base Line) period count.
Senkou Span B (Leading Span B) period count.
Calculates Intraday Momentum Index (IMI) values using given number of time periods (n).
An array of IMI values, or null if calculations are not possible with given values.
OHLC-data Open values.
OHLC-data Close values.
Period count.
Calculates values Keltner Channels. Uses Exponential Moving Average (EMA) of the typical price for the middle line and Average True Range (ATR) for the upper and lower bands.
An array containing three arrays: an array for EMA values, an array for upper channel values, and an array for lower channel values. Returns null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Period count for EMA.
Period count for ATR.
Multiplier for ATR.
Calculates Klinger Volume Oscillator (KVO) using given time period count and moving average types.
An array containing three arrays. The first has the KVO values, the second the Signal values, and the third has the histogram values. Returns null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Volume values.
Time period count for the shorter moving average.
Time period count for the longer moving average.
Time period count for the Signal line.
Moving average used to calculate short and long averages.
Moving average used to calculate the Signal line.
Calculates Kurtosis values based on given moving average type and number of time periods (n).
An array of Kurtosis values, or null if calculations are not possible with given values.
Data values to calculate from.
Period count.
The type of the used moving average.
Calculates Linear Regression indicator values using given number of time periods.
An array containing four data arrays: -Linear Regression Slope values. -Linear Regression Intercept values. -Linear Regression Forecast values. -Linear regression R Squared (R2) values. Returns null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Calculates MACD, Signal Line, and Histogram.
An array containing three arrays, the first one has MACD values, the second Signal values, and the third Histogram values. Returns null if calculations are not possible with given values.
Data values to calculate from.
Short period count.
Long period count.
Signal period count.
Calculates MACD, Signal Line, and Histogram using given moving average types.
An array containing three arrays, the first one has MACD values, the second Signal values, and the third Histogram values. Returns null if calculations are not possible with given values.
Data values to calculate from.
Short period count.
Long period count.
Signal period count.
Moving average type used to calculate the short moving average.
Moving average type used to calculate the long moving average.
Moving average type used to calculate the signal line.
Calculates Market Facilitation Index values.
An array containing two arrays: the first one has MFI values, and the second one has the bar colors as numbers. 1 = green (Green), 2 = blue (Fake), 3 = pink (Squat), 4 = brown (Fade) Returns null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Volume values.
Calculates Mass Index values using given number of time periods (n).
An array of Mass Index values, or null if calculations are not possible with given values.
OHLC-data High values
OHLC-data Low values.
Period count.
Calculates Median Prices based on given High and Low values.
An array of Median Prices, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Calculates Momentum Oscillator values using given number of time periods (n).
An array of Momentum Oscillator values, or null if calculations are not possible with given values.
Data values to calculate from.
Period count.
Calculates Money Flow Index values using given number of time periods (n).
An array of Money Flow Index values, or null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Volume values.
Period count.
Calculates Moving Average Envelopes based on given values and moving average type.
An array containing three arrays. The first array has the middle band values, the second has the upper band values, and the third one the lower band values. Returns null if calculations are not possible with given parameters.
Data values to calculate from.
Period count for the moving average.
Percentage of the moving average line to position the upper and lower bands.
The moving average type used to calculate the envelopes.
Calculates Negative Volume Index (NVI) values based on given data and volume values.
An array of NVI values, or null if calculations are not possible with given values.
Data values to calculate from.
Volume values.
Calculates On-Balance Volume values based on given data and Volume values.
An array of On-Balance Volume values, or null if calculations are not possible with given values.
Data values to calculate from.
Volume values.
Optional starting value to which Volume values are added or subtracted from. If not given the first value will be the first Volume value.
Calculates Parabolic SAR values using given values.
An array of Parabolic SAR values. Return null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
Acceleration Factor. Used as an initial values and as an incremental value.
Maximum value for Acceleration Factor.
Calculates Percentage Price Oscillator values using given number of time periods (n). Returns also Signal and Histogram values.
An array containing three arrays, the first one has PPO values, the second Signal values, and the third Histogram values. Returns null if calculations are not possible with given values.
Data values to calculate from.
Long period count.
Short period count.
Signal period count.
Calculates Positive Volume Index (PVI) values based on given data and volume values.
An array of PVI values, or null if calculations are not possible with given values.
Data values to calculate from.
Volume values.
Calculates Pretty Good Oscillator (PGO) values using given number of time periods and moving average types.
An array of PGO values, or null if calculations are not possible with given values.
Data values used as a basis for calculations, most commonly OHLC-data Close values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
The number of time periods used to calculate the moving averages.
The number of time periods used to calculate the Average True Range.
The type of the OHLC-data based moving average.
The type of the Average True Range based moving average.
Calculates Price Volume Trend (PVT) using given price and volume values.
An array of PVT values, or null if calculations are not possible with given values.
Data values to calculate from.
Volume values.
Calculates Prime Number Bands based on given values.
An array containing two arrays. The first one has upper bands values and the second lower band values. Returns null if calculations are not possible with given values.
Data values to calculate from.
Calculates Prime Number Oscillator (PNO) values based on given data values.
An array of PNO values, or null if calculations are not possible with given values.
Data values to calculate from.
Calculates QStick values using given moving average and number of time periods (n).
An array of QStick values, or null if calculations are not possible with given values.
OHLC-data Open values.
OHLC-data Close values.
Period count.
Moving average to use during calculations.
Calculates Rainbow Oscillator values using given parameters and moving average type.
An array containing three arrays: the first array has Rainbow Oscillator values, the second array has values for the upper band, and the third array has values for the lower band. Returns null if calculations are not possible with given values.
Data values to calculate from.
The number of time periods used for calculating the series of moving averages.
The number of time periods checked when finding out the highest and lowest prices.
The number of times the oscillator is smoothed with a moving average.
Moving average type used for calculating the series of averages.
Calculates Random Walk Index (RWI) values using given number of time periods (n).
An array containing two arrays: the first one has RWI High values and the second one RWI Low values. Returns null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Time period count.
Calculates Range Action Verification Index (RAVI) using given moving average types and time period counts.
An array of RAVI values, or null if calculations are not possible with given values.
Data values to calculate from.
Period count for the shorter moving average.
Period count for the longer moving average.
The type of the shorter moving average.
The type of the longer moving average.
Calculates Rate of Change (ROC) values using given number of time periods (n).
Array of Rate of Change values, or null if calculation is not possible with given values.
Data values to calculate from.
Time period count.
Calculates Relative Strength Index (RSI) using given number of time periods, N.
Array of Relative Strength Index values, or null if calculations are not possible.
Data values to calculate from.
Number of values over which the smoothing calculation is applied.
Calculates SQN Trend (System Quality Number) using given values, moving average type and number of time periods (n).
An array of SQN Trend values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Moving average type used during calculations.
Calculates Schaff Trend Cycle (STC) values using given time period counts and moving averages.
An array of STC values, or null if calculations are not possible with given values.
Data values to calculate from.
The short period count for MACD calculations.
The long period count for MACD calculations.
The time period count used to calculate the first Stochastic, that is the lookback periods when finding the highest and lowest values.
The time period count used to smooth the first Stochastic (%K).
The time period count used to calculate the first %D values.
The time period count used to calculate the second Stochastic, that is the lookback periods when finding the highest and lowest values.
The time period count used to smooth the second Stochastic (%K).
The time period count used to calculate the second %D values, in other words the final STC values.
Moving average type to calculate the short moving average during MACD calculations.
Moving average type to calculate the long moving average during MACD calculations.
Moving average type to calculate the first Stochastic %K values.
Moving average type to calculate the first Stochastic %D values.
Moving average type to calculate the second Stochastic %K values.
Moving average type to calculate the second Stochastic %D values.
Calculates Schaff Trend Cycle (STC) values using given time period counts and moving averages. This version uses MACD's Signal line as basis for Stochastic calculations.
An array of STC values, or null if calculations are not possible with given values.
Data values to calculate from.
The short period count for MACD calculations.
The long period count for MACD calculations.
The signal period count for MACD calculations.
The time period count used to calculate the first Stochastic, that is the lookback periods when finding the highest and lowest values.
The time period count used to smooth the first Stochastic (%K).
The time period count used to calculate the first %D values.
The time period count used to calculate the second Stochastic, that is the lookback periods when finding the highest and lowest values.
The time period count used to smooth the second Stochastic (%K).
The time period count used to calculate the second %D values, in other words the final STC values.
Moving average type to calculate the short moving average during MACD calculations.
Moving average type to calculate the long moving average during MACD calculations.
Moving average type to calculate the signal line during MACD calculations.
Moving average type to calculate the first Stochastic %K values.
Moving average type to calculate the first Stochastic %D values.
Moving average type to calculate the second Stochastic %K values.
Moving average type to calculate the second Stochastic %D values.
Calculates Simple Moving Average using given averaging frame length (window length, or period count N).
Array of Simple Moving Average values, or null if averaging is not possible for the given values.
Data values to calculate from.
The number of values to use in averaging each round (period count).
Calculates Skewness values based on given moving average type and number of time periods (n).
An array of Skewness values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
The type of the used moving average.
Calculates Standard Deviation values using given number of time periods (n).
An array of Standard Deviation values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Optional moving average type, default is no averaging.
Calculates Standard Error values using given moving average and number of time periods (n).
An array of Standard Error values, or null if calculations are not possible with given values.
Data values to calculate from.
Period count.
Moving average to use during calculations.
Calculates Standard Error Bands values using given moving average type and number of time periods (n).
An array containing three arrays. The first array has the middle band values, the second has the upper band values, and the third one the lower band values. Returns null if calculations are not possible with given parameters.
Data values to calculate from.
Time period count.
Multiplier for the standard error used when calculating upper and lower bands.
The type of the used moving average.
Calculates Stochastic Momentum Index (SMI) values using given moving average types and time period counts.
An array of two arrays: the first one has SMI values (%K) while the second one has moving average values (%D). Returns null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
The number of time periods to calculate the stochastic (%K) line. This is the lookback period for High/Low range.
The number of time periods used for the first smoothing of the stochastic (%K) values.
The number of time periods used for the second (double) smoothing of the stochastic (%K) values.
The number of time periods used to calculate the moving average (%D) line.
The moving average used to smooth the oscillator (%K) line.
The moving average used to calculate the moving average (%D) line.
Calculates Stochastic Oscillator values using given number of time periods (n).
An array containing two arrays, the first one has Stochastic Oscillator values and the second one moving average values. Returns null if calculation is not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
The number of time periods used to calculate the oscillator.
The number of time periods used to calculate the moving average.
Calculates Smoothed Stochastic Oscillator values using given moving average types and time period counts.
An array containing two arrays: the first one has stochastic (%K) values while the second one has the moving average (%D) values. Returns null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
The number of time periods used to calculate the stochastic (%K) values.
The number of time periods used to smooth the stochastic (%K) values.
The number of time periods used to calculate the moving average (%D) values.
The moving average type used to smooth the stochastic (%K) values.
The moving average type used to calculate the moving average (%D) values.
Calculates Stoller Average Range Channels (STARC) using given moving average type and number of time periods.
An array containing three arrays: an array for moving average values, an array for upper channel values, and an array for lower channel values. Returns null if calculations are not possible with given values.
Data values used as a basis for calculations, most commonly OHLC-data Close values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Period count for the moving average.
Period count for the Average True Range.
Multiplier for the Average True Range.
The type of the used moving average.
Calculates Supertrend values using given number of time periods.
An array of Supertrend values, or null if calculations are not possible with values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Period count.
Multiplier for ATR.
Calculates Swing Index (SI) values using given data and maximum price change (limit move) values.
An array of Swing Index values, or null if calculations are not possible with given values.
OHLC-data Open values.
OHLC-data High values.
OHLC-data Low values.
OHLC-data Close values.
Maximum price change in one direction.
Calculates Time Series Moving Average (TSMA) values using given number of time periods (n). Uses least squares regression fitting.
An array of TSMA values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Calculates Trade Volume Index (TVI) values using given minimum tick value.
An array of TVI values, or null if calculations are not possible with given values.
Data values to calculate from.
Volume values.
Minimum tick value to be used in the calculations.
Calculates Triangular Moving Average (TMA) values using given number of time periods (n).
An array of TMA values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Calculates Triple Exponential Average (TRIX) values using given number of time periods (n).
An array containing two arrays, the first one has Triple Exponential Average values and the second one 9-day Exponential Moving Average values. Returns null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Calculates True Strength Index (TSI) values using given time period counts and moving average types.
An array containing two arrays: the first one has TSI values while the second one has the signal values. Returns null if calculations are not possible with given values.
Data values to calculate from.
Time periods used to calculate the price change (value - value n periods ago).
Time periods used to calculate the first smoothing.
Time periods used to calculate the second (double) smoothing.
Time periods used to calculate the signal values.
Moving average type used for the first smoothing.
Moving average type used for the second (double) smoothing.
Moving average type used to calculate the signal values.
Calculates Twiggs Money Flow values using given OHLC- and Volume values and number of time periods (n).
An array of Twiggs Money Flow values, or null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Volume values.
Period count.
Calculates Typical Prices based on given High, Low and Close values.
An array of Typical Prices, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
OHLC-data Close values.
Calculates Ultimate Oscillator (UO) values using given time period counts.
An array of Ultimate Oscillator values, or null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Period count for the shortest average.
Period count for the middle average.
Period count for the longest average.
Calculates Ultimate Oscillator Smoothed (UO ST) values using given time period counts and moving average.
An array of Ultimate Oscillator ST values, or null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Period count for the shortest average.
Period count for the middle average.
Period count for the longest average.
Moving average to be used in smoothing
Calculates Variable Index Dynamic Average (VIDYA) values using given number of time periods (n).
An array of VIDYA values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Short standard deviation period count used in VIDYA calculations.
Long standard deviation period count used in VIDYA calculations.
Calculates Variable Moving Average (VMA) values using the given number of time periods (n).
An array of VMA values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Calculates Vertical Horizontal Filter (VHF) using given number of time periods (n).
An array of VHF values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Calculates Volume Oscillator (VO) using the given time period counts and moving average types.
An array containing three arrays. The first has the VO values, the second the Signal values, and the third has the histogram values. Returns null if calculations are not possible with given values.
Volume values to calculate from.
Short-term period count.
Long-term period count.
Period count for signal line.
When enabled, the difference between the short and long moving averages is calculated as a percentage and not as an actual volume difference.
Moving average type for the short and long averages.
Moving average type for the signal line.
Calculates Volume Rate of Change (VROC) values using given number of time periods (n).
An array of VROC values, or null if calculations are not possible with given values.
Volumes values to calculate from.
Period count.
Calculates Volume Weighted Moving Average (VWMA) values using the given number of time periods (n).
An array of VWMA values, or null if calculations are not possible with given values.
Data values to calculate from.
Volume values.
Time period count.
Calculates Weighted Close values based on given High, Low and Close values.
An array of Weighted Close values, or null if calculations are not possible with given values.
OHLC-data High values.
OHLC-data Low values.
OHLC-data Close values.
Calculates Weighted Moving Average using given number of time periods (n).
Array of Weighted Moving Average values, or null if averaging is not possible for the given values.
Data values to calculate from.
The number of values to use in averaging each round (period count).
Calculates Welles Wilder Smoothing (WWS) for the data values using the given number of time periods (n).
An array of WWS values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Calculates Williams Accumulation Distribution (WAD) values.
An array of WAD values, or null if calculations are not possible with given values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Volume values. Can be null if useVolume is set false (Volume values not incorporated into calculations).
Sets whether to take Volume into account during calculations.
Calculates Williams Percent Range values using given number of time periods (n).
An array of Williams Percent Range values, or null if calculations are not possible with given values.
Data values used as a basis for calculations, most commonly OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Time period count.
Calculates Williams Variable Accumulation Distribution (WVAD) values using given moving average and number of time periods (n).
An array of WVAD values, or null if calculations are not possible with given values.
OHLC-data Open values.
OHLC-data Close values.
OHLC-data High values.
OHLC-data Low values.
Volume values.
Period count.
Moving average to use during calculations.
Calculates Z-Value values based on given moving average type and number of time periods (n).
An array of Z-Values, or null if calculations are not possible with given values.
Data values to calculate from.
Time period count.
Moving average to use during calculations.
Calculate linear line fit for given points.
Array containing fitted Y-values. Returns null if unable to calculate with given values.
X-values that are used to calculate the factors. This is the point set where the regression line is fitted to.
Y-values that are used to calculate the factors. Length must be equal to xInFactorization length.
X-values whose Y values are to be solved, using the factors.
Contains various helper methods for technical analysis calculations.