Indicator
Indicator Go delivers a rich set of technical analysis indicators, customizable strategies, and a powerful backtesting framework. No dependencies, just pure simplicity. โจ See how! ๐
Install / Use
/learn @cinar/IndicatorAbout this skill
Quality Score
0/100
Category
Development & EngineeringSupported Platforms
Universal
Tags
algorithmic-tradingbollinger-bandsfinancefinancial-instrumentsindicatorindicatorsmacdquantquantative-financequantative-tradingquantitative-financestock-analysisstock-markettechnical-analysistechnical-analysis-indicatorstechnical-analysis-librarytradingtrading-algorithmstrading-strategiesyahoo-finance
README
<p align="center">
<img src="logo.png" />
</p>
Indicator Go
Indicator is a Golang module that provides a rich set of technical analysis indicators, strategies, and a framework for backtesting.
Major improvements in v2:
- Enhanced Code Quality: A complete rewrite was undertaken to achieve and maintain at least 90% code coverage.
- Improved Testability: Each indicator and strategy have dedicated test data in CSV format for easier validation.
- Streamlined Data Handling: The library was rewritten to operate on data streams (Go channels) for both inputs and outputs. If you prefer using slices, helper functions like helper.SliceToChan and helper.ChanToSlice are available. Alternatively, you can still use the v1 version.
- Configurable Indicators and Strategies: All indicators and strategies were designed to be fully configurable with no preset values.
- Generics Support: The library leverages Golang generics to support various numeric data formats.
- MCP Support: MCP (Multi-Client Protocol Server) support is integrated into the library, facilitating its use with various AI tools.
I also have a TypeScript version of this module now at Indicator TS.
๐ Indicators Provided
The following list of indicators are currently supported by this package:
๐ Trend Indicators
- Absolute Price Oscillator (APO)
- Alligator Indicator
- Aroon Indicator
- Balance of Power (BoP)
- Chande Forecast Oscillator (CFO)
- Commodity Channel Index (CCI)
- Envelope
- Hull Moving Average (HMA)
- Detrended Price Oscillator (DPO)
- Double Exponential Moving Average (DEMA)
- Exponential Moving Average (EMA)
- Kaufman's Adaptive Moving Average (KAMA)
- Know Sure Thing (KST)
- Mass Index (MI)
- McGinley Dynamic
- Moving Average Convergence Divergence (MACD)
- Moving Least Square (MLS)
- Moving Linear Regression (MLR)
- Moving Max
- Moving Min
- Moving Sum
- Pivot Point
- Random Index (KDJ)
- Stochastic
- Slow Stochastic
- Schaff Trend Cycle (STC)
- Rolling Moving Average (RMA)
- Simple Moving Average (SMA)
- Since Change
- Smoothed Moving Average (SMMA)
- Triple Exponential Moving Average (TEMA)
- Triangular Moving Average (TRIMA)
- Triple Exponential Average (TRIX)
- True Strength Index (TSI)
- Tillson T3
- Typical Price
- Volume Weighted Moving Average (VWMA)
- Weighted Close
- Weighted Moving Average (WMA)
๐ Momentum Indicators
- Awesome Oscillator
- Chaikin Oscillator
- Connors RSI
- Coppock Curve
- Elder-Ray Index
- Fisher Transform
- Ichimoku Cloud
- Percentage Price Oscillator (PPO)
- Percentage Volume Oscillator (PVO)
- Martin Pring's Special K
- Relative Strength Index (RSI)
- Relative Vigor Index (RVI)
- Qstick
- Stochastic Oscillator
- Stochastic RSI
- TD Sequential
๐ข Volatility Indicators
- Percent B
- Acceleration Bands
- Average True Range (ATR)
- Bollinger Band Width
- Bollinger Bands
- Chandelier Exit
- Choppiness Index (CHOP)
- Donchian Channel (DC)
- Keltner Channel (KC)
- Moving Standard Deviation (Std)
- Projection Oscillator (PO)
- Super Trend
- Ulcer Index (UI)
๐ข Volume Indicators
- Accumulation/Distribution (A/D)
- Chaikin Money Flow (CMF)
- Ease of Movement (EMV)
- Force Index (FI)
- Klinger Volume Oscillator (KVO)
- Money Flow Index (MFI)
- Money Flow Multiplier (MFM)
- Money Flow Volume (MFV)
- Negative Volume Index (NVI)
- On-Balance Volume (OBV)
- Volume Price Trend (VPT)
- Volume Weighted Average Price (VWAP)
๐ฐ Asset Valuation
๐ง Strategies Provided
The following list of strategies are currently supported by this package:
โ Base Strategies
๐ Trend Strategies
- Alligator Strategy
- Absolute Price Oscillator (APO) Strategy
- Aroon Strategy
- Balance of Power (BoP) Strategy
- Chande Forecast Oscillator Strategy
- Commodity Channel Index (CCI) Strategy
- Double Exponential Moving Average (DEMA) Strategy
- Envelope Strategy
- Golden Cross Strategy
- Kaufman's Adaptive Moving Average (KAMA) Strategy
- Moving Average Convergence Divergence (MACD) Strategy
- Qstick Strategy
- Random Index (KDJ) Strategy
- Smoothed Moving Average (SMMA) Strategy
- Triangular Moving Average (TRIMA) Strategy
- Triple Exponential Average (TRIX) Strategy
- Triple Moving Average Crossover Strategy
- True Strength Index (TSI) Strategy
- Volume Weighted Moving Average (VWMA) Strategy
- Weighted Close Strategy
๐ Momentum Strategies
- Awesome Oscillator Strategy
- Ichimoku Cloud Strategy
- RSI Strategy
- Stochastic RSI Strategy
- Triple RSI Strategy
๐ข Volatility Strategies
๐ข Volume Strategies
- Chaikin Money Flow Strategy
- Ease of Movement Strategy
- Force Index Strategy
- Money Flow Index Strategy
- Negative Volume Index Strategy
- Percent Band and MFI Strategy
- Weighted Average Price Strategy
๐งช Compound Strategies
Compound strategies merge multiple strategies to produce integrated recommendations. They combi
