Still have questions?
Contact support
You are looking at an outdated 7.11.0 version of this document. Switch to the 7.12.0 version to see the up to date information.

Technical Indicators

Overview

This document contains mathematical description of all technical indicators available in AnyChart Stock Component.

For all formulas and indicators below:

  • n is a period for which calculations are done, it is usually set by the period parameter of the method that creates an indicator.
  • Xi is the value passed by the data source.

Accumulation Distribution Line (ADL)

Coming soon.

Adaptive Moving Average (AMA)

Coming soon.

Aroon

Coming soon.

Average True Range (ATR)

Coming soon.

Bollinger Bands (BBands)

Coming soon.

BBands %B

Coming soon.

BBands Width

Coming soon.

Commodity Channel Index (CCI)

Coming soon.

Chaikin Money Flow (CMF)

Coming soon.

Chaikin Oscillator (CHO)

Coming soon.

Chaikin Volatility (CHV)

Coming soon.

Directional Movement Indicator (DMI)

Coming soon.

Exponential Moving Average

Exponential Moving Average in each point is calculated according to the following formula:

Keltner Channels

Coming soon.

Modified (Smoothed) Moving Average (MMA)

Coming soon.

Money Flow Index (MFI)

Coming soon.

Momentum

Coming soon.

Moving Average Convergence Divergence

Moving Average Convergence/Divergence indicator is calculated as follows:

  1. EMA[slow period]i and EMA[fast period]i is calculated by EMA formula. Slow period and fast period are set by slowPeriod (default 26) and fastPeriod (default 12) parameters of .macd() method.
  2. MACD series value is calculated:
  3. EMA[signal period]i of MACD series values is calculated by EMA formula, where signal period is set by signalPeriod parameter.
  4. Signal series value is calculated:
  5. Histogram series is calculated:

Moving Average Envelopes

Coming soon.

On Balance Volume

Coming soon.

Parabolic SAR

Coming soon.

Price Channels

Coming soon.

Rate of Change

Rate of Change is calculated according to this formula:

Relative Strength Index

Relative Strength Index is calculated as follows:

  1. Upward change (U) or downward change (D) sequences are calculated:
  2. Then two averages are calculated:

  3. And final RSI formula is :

Simple Moving Average

Simple Moving Average in each point is calculated according to the following formula:

Stochastic Oscillator (Full)

Coming soon.

TRIX

Coming soon.

Volume + MA

Coming soon.

Williams %R

Coming soon.