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 AccumulationDistribution

    The indicator object

  • 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 AccumulativeSwingIndex

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 25

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

    Returns Aroon

    The indicator object.

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

    Parameters

    • periodCount: number = 25

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

    Returns AroonOscillator

    The indicator object.

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

    Parameters

    • periodCount: number = 14

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

    Returns AverageDailyRange

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 14

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

    Returns AverageDirectionalIndex

    The indicator object.

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

    Parameters

    • periodCount: number = 14

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

    Returns AverageTrueRange

    The indicator object.

  • 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 AwesomeOscillator

    The indicator object.

  • 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 BalanceOfPower

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 14

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

    Returns BollingerBand

    The indicator object.

  • 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 CenterOfGravity

    The indicator object.

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

    Parameters

    • periodCount: number = 21

      The number of time periods used to calculate the indicator.

    Returns ChaikinMoneyFlow

    The indicator object.

  • 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.

    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

    The indicator object.

  • 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 ChaikinVolatility

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 14

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

    Returns ChandeForecastOscillator

    The indicator object.

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

    Parameters

    • periodCount: number = 9

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

    Returns ChandeMomentumOscillator

    The indicator object.

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

    Parameters

    • periodCount: number = 14

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

    Returns ChoppinessIndex

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 20

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

    Returns CommodityChannelIndex

    The indicator object.

  • 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 CoppockCurve

    The indicator object.

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

    Returns CorrelationCoefficient

    The indicator object.

  • 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 CustomOverlay

    The indicator object.

  • 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 CustomStudy

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 20

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

    Returns DonchianChannels

    The indicator object.

  • 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 EaseOfMovement

    The indicator object.

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

    Returns EhlerFisherTransform

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 13

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

    Returns ElderRayIndex

    The indicator object.

  • 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 ElderThermometerCustom

    The indicator object.

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

    Parameters

    • periodCount: number = 13

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

    Returns EldersForceIndex

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 14

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

    Returns ExponentialMovingAverage

    The indicator object.

  • 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 FractalChaosBands

    The indicator object.

  • 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 FractalChaosOscillator

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 14

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

    Returns GopalakrishnanRangeIndex

    The indicator object.

  • 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 HighLowBands

    The indicator object.

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

    Returns HighMinusLow

    The indicator object.

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

    Parameters

    • periodCount: number = 14

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

    Returns HullMovingAverage

    The indicator object.

  • 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 IchimokuCloud

    The indicator object.

  • 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 IntradayMomentumIndex

    The indicator object.

  • 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 KeltnerChannels

    The indicator object.

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

    Returns Kurtosis

    The indicator object.

  • 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 LinearRegression

    The indicator object.

  • 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 MarketFacilitationIndex

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 25

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

    Returns MassIndex

    The indicator object.

  • 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 MedianPrice

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 10

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

    Returns MomentumOscillator

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 14

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

    Returns MoneyFlowIndex

    The indicator object.

  • 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 MovingAverageConvergenceDivergence

    The indicator object.

  • 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 MovingAverageConvergenceDivergenceCustom

    The indicator object.

  • 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 MovingAverageEnvelopes

    The indicator object.

  • 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 NegativeVolumeIndex

    The indicator object.

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

    Returns OnBalanceVolume

    The indicator object.

  • 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 OpenInterest

    The indicator object.

  • 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 ParabolicSAR

    The indicator object.

  • 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 PercentagePriceOscillator

    The indicator object.

  • 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 PerformanceIndex

    The indicator object.

  • 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 PositiveVolumeIndex

    The indicator object.

  • 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 PrettyGoodOscillator

    The indicator object.

  • 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 PriceVolumeTrend

    The indicator object.

  • 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 PrimeNumberBands

    The indicator object.

  • 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 PrimeNumberOscillator

    The indicator object.

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

    Returns QStick

    The indicator object.

  • 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 RainbowOscillator

    The indicator object.

  • 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 RandomWalkIndex

    The indicator object.

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

    Parameters

    • periodCount: number = 9

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

    Returns RateOfChange

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 14

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

    Returns RelativeStrengthIndex

    The indicator object.

  • 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 SQNTrend

    The indicator object.

  • 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 SchaffTrendCycle

    The indicator object.

  • 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 SchaffTrendCycleSignal

    The indicator object.

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

    Parameters

    • periodCount: number = 14

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

    Returns SimpleMovingAverage

    The indicator object.

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

    Returns Skewness

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 20

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

    Returns StandardDeviation

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 14

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

    Returns StandardError

    The indicator object.

  • 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 StandardErrorBands

    The indicator object.

  • 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 StochasticMomentumIndex

    The indicator object.

  • 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 StochasticOscillator

    The indicator object.

  • 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 StochasticOscillatorSmoothed

    The indicator object.

  • 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 StollerAverageRangeChannel

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 10

    Returns SuperTrend

    The indicator object.

  • 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 SwingIndex

    The indicator object.

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

    Parameters

    • periodCount: number = 25

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

    Returns TimeSeriesMovingAverage

    The indicator object.

  • 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 TradeVolumeIndex

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 20

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

    Returns TriangularMovingAverage

    The indicator object.

  • 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 TripleExponentialAverage

    The indicator object.

  • 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 TrueStrengthIndex

    The indicator object.

  • 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 TwiggsMoneyFlow

    The indicator object.

  • 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 TypicalPrice

    The indicator object.

  • 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 UltimateOscillator

    The indicator object.

  • 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 UltimateOscillatorSmoothed

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 9

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

    Returns VIDYA

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 9

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

    Returns VariableMovingAverage

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 28

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

    Returns VerticalHorizontalFilter

    The indicator object.

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

    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

    The indicator object.

  • 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 VolumeOscillator

    The indicator object.

  • 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 VolumeRateOfChange

    The indicator object.

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

    Parameters

    • periodCount: number = 20

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

    Returns VolumeWeightedMovingAverage

    The indicator object.

  • 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 WeightedClose

    The indicator object.

  • 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).

    Parameters

    • periodCount: number = 14

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

    Returns WeightedMovingAverage

    The indicator object.

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

    Parameters

    • periodCount: number = 14

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

    Returns WellesWilderSmoothingAverage

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 14

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

    Returns WilliamsPercentRange

    The indicator object.

  • 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.

    Parameters

    • periodCount: number = 20

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

    Returns ZValue

    The indicator object.

  • Disposes all current indicators.

    Parameters

    • disposeSecondarySymbol: boolean = false

    Returns void