Class the create and maintain Technical Indicators.

Hierarchy

  • Indicators

Constructors

Methods

addAccumulationDistribution addAccumulativeSwingIndex addAroon addAroonOscillator addAverageDailyRange addAverageDirectionalIndex addAverageTrueRange addAwesomeOscillator addBalanceOfPower addBollingerBand addCenterOfGravity addChaikinMoneyFlow addChaikinOscillator addChaikinVolatility addChandeForecastOscillator addChandeMomentumOscillator addChoppinessIndex addCommodityChannelIndex addCoppockCurve addCorrelationCoefficient addCustomOverlay addCustomStudy addDetrendedPriceOscillator addDonchianChannels addEaseOfMovement addEhlerFisherTransform addElderRayIndex addElderThermometerCustom addEldersForceIndex addExponentialMovingAverage addFractalChaosBands addFractalChaosOscillator addGopalakrishnanRangeIndex addHighLowBands addHighMinusLow addHistoricalVolatilityIndex addHullMovingAverage addIchimokuCloud addIntradayMomentumIndex addKeltnerChannels addKlingerVolumeOscillator addKurtosis addLinearRegression addMarketFacilitationIndex addMassIndex addMedianPrice addMomentumOscillator addMoneyFlowIndex addMovingAverageConvergenceDivergence addMovingAverageConvergenceDivergenceCustom addMovingAverageEnvelopes addNegativeVolumeIndex addOnBalanceVolume addOpenInterest addParabolicSAR addPercentagePriceOscillator addPerformanceIndex addPositiveVolumeIndex addPrettyGoodOscillator addPriceVolumeTrend addPrimeNumberBands addPrimeNumberOscillator addQStick addRainbowOscillator addRandomWalkIndex addRangeActionVerificationIndex addRateOfChange addRelativeStrengthIndex addSQNTrend addSchaffTrendCycle addSchaffTrendCycleSignal addSimpleMovingAverage addSkewness addStandardDeviation addStandardError addStandardErrorBands addStochasticMomentumIndex addStochasticOscillator addStochasticOscillatorSmoothed addStollerAverageRangeChannel addSuperTrend addSwingIndex addTimeSeriesMovingAverage addTradeVolumeIndex addTriangularMovingAverage addTripleExponentialAverage addTrueStrengthIndex addTwiggsMoneyFlow addTypicalPrice addUltimateOscillator addUltimateOscillatorSmoothed addVIDYA addVariableMovingAverage addVerticalHorizontalFilter addVolume addVolumeOscillator addVolumeRateOfChange addVolumeWeightedMovingAverage addWeightedClose addWeightedMovingAverage addWellesWilderSmoothingAverage addWilliamsAccumulationDistribution addWilliamsPercentRange addWilliamsVariableAccumulationDistribution addZValue disposeAllIndicators getAllIndicators

Constructors

  • Parameters

    • priceChart: TradingChart
    • chart: ChartXY<UIBackground>
    • data: XOHLC[]
    • volumes: number[]
    • openInterests: number[]

    Returns Indicators

Methods

  • Adds Accumulation/Distribution (A/D) indicator. A/D shows whether a stock is being accumulated or distributed. It uses both price and volume information.

    Returns

    The indicator object

    Returns AccumulationDistribution

  • Adds Accumulative Swing Index (ASI) indicator. ASI is a trend line based on the cumulative sum of the Swing Index. It measures long-term trends in prices. Shows also the Swing Index in a separate segment.

    Returns

    The indicator object.

    Returns AccumulativeSwingIndex

  • Adds Aroon indicator. Aroon identifies trend changes in the price. It also reveals the strength of that trend. Consists of two lines: Aroon Up measuring the uptrend strength and Aroon Down measuring the downtrend strength.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 25

      The number of time periods (n) used to calculate the indicator.

    Returns Aroon

  • Adds Aroon Oscillator indicator, which measures the difference between Aroon-Up and Aroon-Down indicators.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 25

      The number of time periods (n) used to calculate the indicator.

    Returns AroonOscillator

  • Adds Average Daily Range (ADR) indicator. ADR measures volatility by calculating the average of high-low ranges over a given time range.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns AverageDailyRange

  • Adds Average Directional Index (ADX) indicator. ADX measures the overall strength of a trend by calculating the average of expanding price range values. Directional Movement Indicators (-DI and +DI) can be shown together with the ADX line. The indicator uses Wilder's smoothing techniques.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns AverageDirectionalIndex

  • Adds Average True Range (ATR) indicator. ATR measures market volatility by calculating the average of true ranges over a given time range (period count).

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns AverageTrueRange

  • Adds Awesome Oscillator (AO) indicator. AO provides information about the strength of the stock and possible reversals. It compares recent momentum with the momentum over a longer time frame.

    Returns

    The indicator object.

    Returns AwesomeOscillator

  • Adds Balance of Power (BOP) to the chart. BOP indicates how strongly the price moves towards higher or lower extremes by measuring the strength of buying and selling pressures.

    Returns

    The indicator object.

    Returns BalanceOfPower

  • Adds Bollinger Band indicator. Bollinger Band calculates a moving average line and then adds two more lines, one above and one below, based on a set number of standard deviation levels.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns BollingerBand

  • Adds Center of Gravity (COG) indicator. COG is designed to anticipate future price movements. Since it has no lag, it can give clear signals of turning points in the price. A Simple Moving Average can be displayed as a signal line.

    Returns

    The indicator object.

    Returns CenterOfGravity

  • Adds Chaikin Money Flow to the chart. It calculates a Volume-weighted average based on Accumulation-Distribution (A/D) line.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 21

      The number of time periods used to calculate the indicator.

    Returns ChaikinMoneyFlow

  • Adds Chaikin Oscillator to the chart. Chaikin Oscillator calculates Moving Average Convergence-Divergence (MACD) based on Accumulation-Distribution (A/D) line. It is used to detect trends and reversals.

    Returns

    The indicator object.

    Parameters

    • fastPeriodCount: number = 3

      The fast period count used to calculate the indicator.

    • slowPeriodCount: number = 10

      The slow period count used to calculate the indicator.

    Returns ChaikinOscillator

  • Adds Chaikin Volatility (CV) indicator. CV measures security's price volatility by comparing the range between High and Low values over a set period of time.

    Returns

    The indicator object.

    Returns ChaikinVolatility

  • Adds Chande Forecast Oscillator (CFO) indicator. CFO measures the difference between the closing price and the forecasted price of a n-period linear regression. The result is shown as a percentage.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns ChandeForecastOscillator

  • Adds Chande Momentum Oscillator (CMO) indicator. CMO is used to identify the relative strength or weakness of the market.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 9

      The number of time periods (n) used to calculate the indicator.

    Returns ChandeMomentumOscillator

  • Adds Choppiness Index (CHOP) indicator. CHOP measures volatility by determining whether a market is trending or ranging.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns ChoppinessIndex

  • Adds Commodity Channel Index (CCI) indicator. CCI is designed to spot new trends and weaknesses in them, as well as to watch overbought and oversold levels.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 20

      The number of time periods (n) used to calculate the indicator.

    Returns CommodityChannelIndex

  • Adds Coppock Curve indicator. Coppock Curve is a price momentum indicator that is used to identify long-term buy and sell signals. Long and short Rate of Change values and Weighted Moving Average are used in the calculations.

    Returns

    The indicator object.

    Returns CoppockCurve

  • Adds Correlation Coefficient indicator, which measures the correlation between two securities, that is the linear relationship between the two variables.

    Returns

    The indicator object.

    Returns CorrelationCoefficient

  • Adds Custom Overlay indicator. Custom Overlay is not based on existing price values. Instead, it uses user-given values. Use setData() -method for the indicator to add the data values. Custom Overlay is drawn as a line on the price chart.

    Returns

    The indicator object.

    Returns CustomOverlay

  • Adds Custom Study indicator. Custom Study is not based on existing price values. Instead, it uses user-given values. Use setData() -method for the indicator to add the data values. Custom Study is drawn as a line below the price chart.

    Returns

    The indicator object.

    Returns CustomStudy

  • Adds Donchian Channels indicator. Donchian Channels consist of three lines: an upper band based on highest Highs, a lower band based on lowest Lows, and a middle band marking the midrange of the other bands. Donchian Channels are used to identify bullish and bearish extremes.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 20

      The number of time periods (n) used to calculate the indicator.

    Returns DonchianChannels

  • Adds Ease of Movement indicator. EOM Ease of Movement (EOM or EMV) is a volume-based oscillator fluctuating above and below the zero line. It quantifies the relationship between the price and the volume, thus measuring the ease of price movement.

    Returns

    The indicator object.

    Returns EaseOfMovement

  • Adds Ehler Fisher Transform indicator. EFT normalizes the prices over specified time periods, thus helping identifying significant price reversals.

    Returns

    The indicator object.

    Returns EhlerFisherTransform

  • Adds Elder-Ray Index (Elder-Ray Power Indicator), which measures the market consensus over a period of time. It consists of two indicators: Bull Power measuring the buying pressure and Bear Power measuring the selling pressure.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 13

      The number of time periods (n) used to calculate the indicator.

    Returns ElderRayIndex

  • Adds custom Elder Thermometer indicator. This version compares current High and Low values to High and Low values specific time periods ago, and creates a histogram based on the result.

    Returns

    The indicator object.

    Returns ElderThermometerCustom

  • Adds Elder's Force Index indicator. EFI uses price and volume information to measure the strength of a price move.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 13

      The number of time periods (n) used to calculate the indicator.

    Returns EldersForceIndex

  • Adds Exponential Moving Average indicator. EMA adds a percentage of the closing price to a percentage of the moving average value of the previous day.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns ExponentialMovingAverage

  • Adds Fractal Chaos Bands (FCB) indicator. FCB filter out insignificant price movements by plotting the high and low price fractals as a channel. It can be used to tell if the market is trending.

    Returns

    The indicator object.

    Returns FractalChaosBands

  • Adds Fractal Chaos Oscillator (FCO) indicator. FCO measures the trendiness of the market, ranging between 1 (trending market) and -1 (chaotic market). FCO is often used in intra-day trading.

    Returns

    The indicator object.

    Returns FractalChaosOscillator

  • Adds Gopalakrishnan Range Index (GAPO or GOPRI) indicator. GAPO measures the volatility of a stock or commodity. It uses logarithm of the price range to determine the variability of price data.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns GopalakrishnanRangeIndex

  • Adds High Low Bands indicator, consisting of three lines: a Triangular Moving Average line, and upper and lower band lines based on specific percentage of the TMA line. High Low Bands can be used to identify bullish and bearish trends.

    Returns

    The indicator object.

    Returns HighLowBands

  • Adds High Minus Low indicator, representing the "per period" range, in other words the difference between the High and the Low values.

    Returns

    The indicator object.

    Returns HighMinusLow

  • Adds Hull Moving Average (WMA) indicator. HMA is designed to eliminate lag, making it a fast, more responsive moving average.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns HullMovingAverage

  • Adds Ichimoku Cloud indicator. It consists of several averaging lines and a lagging closing price line. The difference between two of the lines is colored to comprise the cloud. Ichimoku Cloud is used to detect support and resistance levels. Momentum of the price and trend direction are also shown.

    Returns

    The indicator object.

    Returns IchimokuCloud

  • Adds Intraday Momentum Index (IMI) indicator. IMI is a version of Relative Strength Index (RSI), which uses the change from open to close instead of the change from the previous close to the current close. Appears as a small chart below main price chart.

    Returns

    The indicator object.

    Returns IntradayMomentumIndex

  • Adds Keltner Channels indicator. It consist of three lines: an Exponential Moving Average line, and volatility based channel lines above and below it. Average True Range is used for the volatility lines. Keltner Channels are used to follow trends and notice reversals in price.

    Returns

    The indicator object.

    Returns KeltnerChannels

  • Adds Klinger Volume Oscillator (KVO) indicator. KVO predicts price reversals by comparing volume with price movements.

    Returns

    The indicator object.

    Returns KlingerVolumeOscillator

  • Adds Kurtosis indicator. It measures the "tailedness" of the probability distribution of the price. High Kurtosis indicates frequent price fluctuations in the past.

    Returns

    The indicator object.

    Returns Kurtosis

  • Adds Linear Regression indicator. It plots a trendline value for each data point using least squares method. The indicator consists of four lines: slope, intercept, forecast and R squared. Of these slope and R squared are displayed in their own segments while intercept and forecast share one segment.

    Returns

    The indicator object.

    Returns LinearRegression

  • Adds Market Facilitation Index indicator. It measures the willingness of the market to move the price. The index values are shown as histogram bars with various colors. These colors indicate the relation between the index and volume.

    Returns

    The indicator object.

    Returns MarketFacilitationIndex

  • Adds Mass Index Indicator to below the chart. Mass Index detects potential trend reversals in a stock's price by measuring the range between high and low prices over a period of time.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 25

      The number of time periods (n) used to calculate the indicator.

    Returns MassIndex

  • Adds Median Price indicator, which is the average of the High and Low prices for a time period. Median Price is drawn as a single overlay line.

    Returns

    The indicator object.

    Returns MedianPrice

  • Adds Momentum Oscillator indicator. It compares the latest price to a price selected number of time periods ago. This version returns the normalized values, i.e. the ratio between the prices.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 10

      The number of time periods (n) used to calculate the indicator.

    Returns MomentumOscillator

  • Adds Money Flow Index indicator. MFI uses price and volume data for identifying overbought or oversold signals. It can also be used to spot divergences which warn of a trend change in price. MFI moves between 0 and 100. Unlike many other oscillators such as the Relative Strength Index, the Money Flow Index incorporates both price and volume data.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns MoneyFlowIndex

  • Adds Moving Average Convergence Divergence indicator. MACD is the difference between Exponentially weighted Moving Average (EMA) of Short period data, and EMA of Long period data, that is: EMA(price short period) - EMA(price long period). The Signal line is Signal period EMA of MACD. Histogram shows the difference between MACD and Signal (MACD - Signal).

    Returns

    The indicator object.

    Returns MovingAverageConvergenceDivergence

  • Moving Average Convergence Divergence indicator (MACD) shows the difference between two moving averages of different lengths. This custom MACD allows using different moving averages for all smoothings.

    The Signal line is Signal period moving average of MACD. Histogram shows the difference between MACD and Signal (MACD - Signal).

    Returns

    The indicator object.

    Returns MovingAverageConvergenceDivergenceCustom

  • Adds Moving Average Envelopes indicator, consisting of three lines: a middle line based on selected moving average, and upper and lower band lines based on specific percentage of the average line. Moving Average Envelopes can be used to follow trends, as well as to identify overbought and oversold levels.

    Returns

    The indicator object.

    Returns MovingAverageEnvelopes

  • Adds Negative Volume Index (NVI) indicator. NVI tracks volume as it decreases from the previous day. Since NVI shows the actions of the majority of the traders, it is usually used as a contrarian indicator; smart money is active on quiet days and not-so-smart money on busy days.

    Returns

    The indicator object.

    Returns NegativeVolumeIndex

  • Adds On-Balance Volume (OBV) indicator. It is developed to predict stock price changes by using volume changes.

    Returns

    The indicator object.

    Returns OnBalanceVolume

  • Adds Open Interest indicator. OI is the total number of outstanding derivative contracts, such as options or futures that have not been settled for an asset. The total open interest does not count, nor does total of every buy and sell contract. Instead, Open Interest provides a more accurate picture of the options trading activity, and whether money flows into the futures and options market are increasing or decreasing.

    Returns

    The indicator object.

    Returns OpenInterest

  • Adds Parabolic Stop and Reverse indicator (PSAR). It shows the current trend direction, and reveals potential price reversals. PSAR appears either above (trending down) or below (trending up) the trading data as a series of dots.

    Returns

    The indicator object.

    Returns ParabolicSAR

  • Adds Percentage Price Oscillator (PPO) indicator to the chart. PPO line is the difference between Exponentially weighted Moving Average (EMA) of Short period data, and EMA of Long period data. Signal line is Signal period EMA of PPO. Histogram shows the percentage difference between PPO and Signal.

    Returns

    The indicator object.

    Returns PercentagePriceOscillator

  • Adds Performance Index indicator. Performance Index, sometimes called just Performance indicator, displays how much the price has changed since the first period. The result is shown as a percentage, making it a "normalized" chart and thus useful when comparing securities.

    Returns

    The indicator object.

    Returns PerformanceIndex

  • Adds Positive Volume Index (PVI) indicator. PVI tracks volume as it increases from the previous day. Since PVI shows the actions of the majority of the traders, it is usually used as a contrarian indicator; smart money is active on quiet days and not-so-smart money on busy days.

    Returns

    The indicator object.

    Returns PositiveVolumeIndex

  • Adds Pretty Good Oscillator (PGO) indicator. It measures the distance between the latest close value and the moving average of the price. The result is then divided by a moving average of the Average True Range. PGO is used to detect buy and sell signals.

    Returns

    The indicator object.

    Returns PrettyGoodOscillator

  • Adds Price Volume Trend (PVT) indicator. It uses actual trading volumes to confirm or invalidate the strength of a price trend. PVT takes the percentual change in price into account when calculating its value.

    Returns

    The indicator object.

    Returns PriceVolumeTrend

  • Adds Prime Number Bands indicator. It finds the closest prime number above and below the current price, and creates a band based on them.

    Returns

    The indicator object.

    Returns PrimeNumberBands

  • Adds Prime Number Oscillator (PNO) indicator. PNO finds the nearest prime number to the current price and plots the difference as an oscillator line.

    Returns

    The indicator object.

    Returns PrimeNumberOscillator

  • Adds QStick indicator. QStick numerically identifies trends by taking a moving average of the difference between the Open and Close prices.

    Returns

    The indicator object.

    Returns QStick

  • Adds Rainbow Oscillator indicator. Rainbow Oscillator is a trend-following indicator based on several recursive smoothings via moving averages of the price. It finds the highest and lowest values among these averages and creates an oscillator and a bandwidth based on them.

    Returns

    The indicator object.

    Returns RainbowOscillator

  • Adds Random Walk Index (RWI) indicator. RWI compares price movements to random movements to determine if the movement is of random nature or part of a statistically significant trend. RWI is therefore used to measure the strength of uptrends and downtrends.

    Returns

    The indicator object.

    Returns RandomWalkIndex

  • Adds Rate of Change indicator. It measures the price change between the current price and the price a certain number of periods ago.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 9

      The number of time periods (n) used to calculate the indicator.

    Returns RateOfChange

  • Adds Relative Strength Index indicator. RSI compares the internal strength of a single security by calculating the average momentum over a set number of days.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns RelativeStrengthIndex

  • Adds SQN Trend indicator. SQN (System Quality Number) measures the quality of a trading system by comparing the mean and the standard deviation of the trading systems R-multiple distribution. When this SQN formula is applied to the daily price change of a stock, it measures the trendiness of the market.

    Returns

    The indicator object.

    Returns SQNTrend

  • Adds Schaff Trend Cycle (STC) indicator. STC combines Slow Stochastic (%D) and Moving Average Convergence Divergence (MACD) indicators, creating a signal line that can be used to identify market trend as well as buy and sell signals.

    Returns

    The indicator object.

    Returns SchaffTrendCycle

  • Adds Schaff Trend Cycle (STC) indicator. STC combines Slow Stochastic (%D) and Moving Average Convergence Divergence (MACD) indicators, creating a signal line that can be used to identify market trend as well as buy and sell signals. This version of STC uses the MACD Signal line as basis for Stochastic calculations.

    Returns

    The indicator object.

    Returns SchaffTrendCycleSignal

  • Adds Simple Moving Average indicator. SMA indicates the average of a security’s closing price over a number of time periods (PeriodCount).

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns SimpleMovingAverage

  • Adds Skewness indicator. It measures the asymmetry of the probability distribution of the price giving information about the extremes of the data set.

    Returns

    The indicator object.

    Returns Skewness

  • Adds Standard Deviation indicator. Depicts the Standard Deviation of the price by comparing the current and historical price movements. Used to measure the volatility of the price.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 20

      The number of time periods (n) used to calculate the indicator.

    Returns StandardDeviation

  • Adds Standard Error indicator, which is an approximate standard deviation of a sample population. Standard Error indicates how much the population mean is likely to differ from the sample mean.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns StandardError

  • Adds Standard Error Bands (SEB) indicator. SEB work similarly to Bollinger Bands, with the exception of using standard error instead of standard deviation to calculate the upper and lower bands. The middle line is based on selected moving average.

    Returns

    The indicator object.

    Returns StandardErrorBands

  • Adds Stochastic Momentum Index (SMI) indicator. SMI is a variation of Stochastic Oscillator, showing the distance between the current price and the midpoint of High/Low range. SMI is therefore less unpredictable compared to regular Stochastic Oscillator.

    Returns

    The indicator object.

    Returns StochasticMomentumIndex

  • Adds Stochastic Oscillator (SO) indicator. SO compares a closing price to a range of prices over a time period. It used to identify overbought and oversold levels.

    Returns

    The indicator object.

    Returns StochasticOscillator

  • Adds Stochastic Oscillator Smoothed indicator, which compares a closing price to a range of prices over a time period. It used to identify overbought and oversold levels.

    The difference between Smoothed SO and regular SO is that smoothed study smoothens also the stochastic (%K) line. Different moving averages and time period counts can be used for %K and %D lines.

    Returns

    The indicator object.

    Returns StochasticOscillatorSmoothed

  • Adds Stoller Average Range Channel indicator. it consists of volatility-based envelopes set above and below a selected moving average. Similarly to Keltner Channels, Average True Range (ATR) is used to plot the upper and lower bands. The moving average is based on the price of the security instead of its typical price.

    Returns

    The indicator object.

    Returns StollerAverageRangeChannel

  • Adds Supertrend indicator to the chart. Supertrend is designed to follow trends and spot buy and sell signals. It is plotted on top of the price charts.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 10

    Returns SuperTrend

  • Adds Swing Index (SI) indicator. SI detects price trends of a security. It is often used as a part of the Accumulative Swing Index.

    Returns

    The indicator object.

    Returns SwingIndex

  • Adds Time Series Moving Average (TSMA) indicator. TSMA, also known as Least Squares Moving Average, is a moving average based on linear regression line.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 25

      The number of time periods (n) used to calculate the indicator.

    Returns TimeSeriesMovingAverage

  • Adds Trade Volume Index (TVI) indicator. TVI shows whether a security is being accumulated (bought) or distributed (sold). It moves distinctly when significant changes in price and volume happen simultaneously. TVI is most often used with intraday data.

    Returns

    The indicator object.

    Returns TradeVolumeIndex

  • Adds Triangular Moving Average (TMA) indicator. TMA is a double smoothed Simple Moving Average, which puts more weight to the middle section of the data.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 20

      The number of time periods (n) used to calculate the indicator.

    Returns TriangularMovingAverage

  • Adds Triple Exponential Average (TRIX) indicator. TRIX is a triple exponentially smoothed moving average shown as a percentage change. It is designed to filter out unimportant price changes.

    Returns

    The indicator object.

    Returns TripleExponentialAverage

  • Adds True Strength Index (TSI) indicator. TSI double smoothens the price changes, thus filtering out the noise. TSI can be used to identify trends and reversals as well as to to determine overbought and oversold conditions.

    Returns

    The indicator object.

    Returns TrueStrengthIndex

  • Adds Twiggs Money Flow indicator. TMF is a variation of Chaikin Money Flow indicator using True Range instead of Close Location Value and moving averages instead of cumulative volume. Can be used to evaluate money flow as bullish or bearish, and to warn of breakouts.

    Returns

    The indicator object.

    Returns TwiggsMoneyFlow

  • Adds Typical Price indicator, which is the average of the High, Low and Close prices for a time period. Typical Price is drawn as a single overlay line.

    Returns

    The indicator object.

    Returns TypicalPrice

  • Adds Ultimate Oscillator (UO) indicator. UO captures momentum across three different timeframes, which reduces the volatility and generates fewer trade signals. Therefore, it is often used to identify buy and sell signals.

    Returns

    The indicator object.

    Returns UltimateOscillator

  • Adds Ultimate Oscillator Smoothed (UO ST) indicator. Ultimate Oscillator captures momentum across three different timeframes, which reduces the volatility and generates fewer trade signals. UO ST differs from the regular UO by using smoothing with a moving average instead of summation during the calculations.

    Returns

    The indicator object.

    Returns UltimateOscillatorSmoothed

  • Adds Variable Index Dynamic Average (VIDYA) indicator. VIDYA is an Exponential Moving Average that automatically adjusts its smoothing based on the volatility of the price. Uses standard deviation to calculate the volatility.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 9

      The number of time periods (n) used to calculate the indicator.

    Returns VIDYA

  • Adds Variable Moving Average (VMA) indicator. VMA is an Exponential Moving Average that automatically adjusts its smoothing based on the volatility of the price. Uses Chande Momentum Oscillator to measure the volatility.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 9

      The number of time periods (n) used to calculate the indicator.

    Returns VariableMovingAverage

  • Adds Vertical Horizontal Filter (VHF) indicator. VHF determines the trendiness (level of trend activity) of prices in order to identify trending phases and trading ranges.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 28

      The number of time periods (n) used to calculate the indicator.

    Returns VerticalHorizontalFilter

  • Adds Volume indicator. Volume is the number of traded securities over a certain time period.

    Returns

    The indicator object.

    Parameters

    • addAsOverlay: boolean = true

      When enabled, Volume is shown as an overlay in the price chart. Setting the parameter false shows Volume in a separate chart.

    • twoColoredBars: boolean = true

      The Volume bars are colored based on the OHLC-data's candlestick/bar color of that day.

    • barColor: Color = ...

      The color of the volume bars. Has no effect when two colored bars are being used.

    • offset: number = 0

      Moves the Volume bars from its calculated position forward or backward by the given number of time periods.

    Returns Volume | VolumeOverlay

  • Adds Volume Oscillator (VO) indicator. VO is a momentum oscillator for Volume, that works similarly to MACD. VO can be used to confirm or refute other signals.

    Returns

    The indicator object.

    Returns VolumeOscillator

  • Adds Volume Rate of Change (VROC) indicator. VROC is similar to the regular Rate of Change, but is calculated based on volume instead of price. It is used to measure the volatility in volume as well as to confirm price moves. Appears as a segment below the main price chart.

    Returns

    The indicator object.

    Returns VolumeRateOfChange

  • Adds Volume Weighted Moving Average (VWMA) indicator. VWMA takes volume into account when weighting prices during moving average calculations.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 20

      The number of time periods (n) used to calculate the indicator.

    Returns VolumeWeightedMovingAverage

  • Adds Weighted Close indicator, which is the average price of each day, that puts more weight on Close price compared to High and Low. Weighted Close is drawn as a single overlay line.

    Returns

    The indicator object.

    Returns WeightedClose

  • Adds Weighted Moving Average (WMA) indicator. WMA places more weight on recent data values by multiplying the previous day’s data value by a weighting factor, based on the moving average of a set number of days (PeriodCount).

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns WeightedMovingAverage

  • Adds Welles Wilder Smoothing (WWS) indicator. WWS is a moving average that smoothens out price movements, which helps spotting bullish and bearish trends.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns WellesWilderSmoothingAverage

  • Adds Williams Accumulation Distribution (WAD) indicator. WAD measures market strength and pressures and looks for marker divergence. It helps confirm trend directions and strengths.

    Returns

    The indicator object.

    Returns WilliamsAccumulationDistribution

  • Adds Williams Percent Range indicator. Williams %R measures overbought and oversold levels by comparing the current closing price to the high-low range over a specific time period.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 14

      The number of time periods (n) used to calculate the indicator.

    Returns WilliamsPercentRange

  • Adds Z-Value indicator, also known as the Standard Score or Z-Score. Z-Value is the number of standard deviations, by which a value is above or below the mean value of the data set.

    Returns

    The indicator object.

    Parameters

    • periodCount: number = 20

      The number of time periods (n) used to calculate the indicator.

    Returns ZValue

  • Disposes all current indicators.

    Parameters

    • disposeSecondarySymbol: boolean = false

    Returns void