indicators
— Technical Indicators Module
This module contains categorized implementations of technical indicators used across trading strategies. These indicators are grouped into submodules by type: momentum, trend, volatility, overlap, volume, and candlestick patterns.
Every indicator is implemented as a function that takes a Pandas Series and some parameters needed for particular indicator and every function returns a Pandas Series with the same length as the input series. The returned series contains the calculated values of the indicator for each corresponding value in the input series.
Module Structure
1. Momentum Indicators
Located in trading_strategy_tester/indicators/momentum/
willr.py
— Williams %Rmacd.py
— Moving Average Convergence Divergencecmo.py
— Chande Momentum Oscillatorroc.py
— Rate of Changebbp.py
— Bull and Bear Powercci.py
— Commodity Channel Indexuo.py
— Ultimate Oscillatorstoch.py
— Stochastic %K and %D Indicatorscop.py
— Coppock Curversi.py
— Relative Strength Indextrix.py
— Triple Exponential Averagemomentum.py
— Momentumkst.py
— Know Sure Thingdmi.py
— Directional Movement Index
2. Trend Indicators
Located in trading_strategy_tester/indicators/trend/
mass.py
— Mass Indexadx.py
— Average Directional Indexaroon.py
— Aroon Up and Down Indicatorsdpo.py
— Detrended Price Oscillator
3. Volatility Indicators
Located in trading_strategy_tester/indicators/volatility/
dc.py
— Donchian Channelsbb.py
— Bollinger Bandsatr.py
— Average True Rangechop.py
— Choppiness Indexkc.py
— Keltner Channels
4. Overlap Indicators
Located in trading_strategy_tester/indicators/overlap/
ema.py
— Exponential Moving Averagesma.py
— Simple Moving Averageichimoku.py
— Ichimoku Cloud components
5. Volume-Based Indicators
Located in trading_strategy_tester/indicators/volume/
pvt.py
— Price Volume Trendefi.py
— Elder Force Indexpvi.py
— Positive Volume Indexmfi.py
— Money Flow Indexobv.py
— On Balance Volumeeom.py
— Ease of Movementchaikin_osc.py
— Chaikin Oscillatorcmf.py
— Chaikin Money Flow
6. Candlestick Patterns
Located in trading_strategy_tester/indicators/candlestick_patterns/
hammer.py
— Hammer Pattern