Need help with stock_market_indicators?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

voice32
177 Stars 90 Forks 5 Commits 4 Opened issues

Description

A small Python library with most common stock market indicators

Services available

!
?

Need anything else?

Contributors list

No Data

Stock Market Indicators

A small Python library with most the common stock market indicators.

Requirements

  • Pandas
  • Numpy

Installation

Clone or download the indicators.py file into your project directory.

Usage

Import the module: import indicators

The functions in this library accept the data in Pandas DataFrame format. The data should contain OPEN, HIGH, LOW, CLOSE and VOLUME columns. See the comments for each function for the list of required columns. Their default names are hardcoded in functions' params, however you may supply your own column names, if they are different. Sometimes you would also need to provide periods over which to calculate the indicator values. However, for all of them the default (recommended) values are pre-assigned.

List of implemented techinical indicators

  • Exponential moving average (EMA)
  • Moving Average Convergence/Divergence Oscillator (MACD)
  • Accumulation Distribution (A/D)
  • On Balance Volume (OBV)
  • Price-volume trend (PVT)
  • Average true range (ATR)
  • Bollinger Bands
  • Chaikin Oscillator
  • Typical Price
  • Ease of Movement
  • Mass Index
  • Average directional movement index
  • Money Flow Index (MFI)
  • Negative Volume Index (NVI)
  • Positive Volume Index (PVI)
  • Momentum
  • Relative Strenght Index (RSI)
  • Chaikin Volatility (CV)
  • William's Accumulation/Distribution
  • William's % R
  • TRIX
  • Ultimate Oscillator

License

GNU General Public License

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.