Files
QuanTAlib/docs/indicators.md
T

175 lines
8.7 KiB
Markdown
Raw Normal View History

2022-12-21 07:24:21 -08:00
# Coverage
⭐= Calculation is validated against several TA libraries
✔️= Validation tests passed
2022-12-22 09:14:18 -08:00
❌= Issue
2022-12-21 07:24:21 -08:00
2022-12-22 09:14:18 -08:00
|**BASIC TRANSFORMS**|**QuanTAlib**|**TA-LIB**|**Skender**|**Pandas TA**|**Tulip**|
2022-12-21 07:24:21 -08:00
|--|:--:|:--:|:--:|:--:|:--:|
2022-12-22 09:14:18 -08:00
|OC2 - (Open+Close)/2| `.OC2`||✔️CandlePart.OC2||
|⭐HL2 - Median Price|`.HL2`|✔️MEDPRICE|✔️CandlePart.HL2|✔️hl2|✔️medprice|
|⭐HLC3 - Typical Price|`.HLC3`|✔️TYPPRICE|✔️CandlePart.HLC3|✔️hlc3|✔️typprice|
|OHL3 - (Open+High+Low)/3|`.OHL3`||✔️CandlePart.OHL3||
|⭐OHLC4 - Average Price|`.OHLC4`|✔️AVGPRICE|️✔️CandlePart.OHLC4|✔️ohlc4|✔️avgprice|
|HLCC4 - Weighted Price|`.HLCC4`|✔️WCLPRICE|||✔️wcprice|
|MIDPOINT - Midpoint value|`MIDPOINT_Series`|✔️MIDPOINT||midpoint|
|MIDPRICE - Midpoint price|`MIDPRICE_Series`|✔️MIDPRICE||midprice|
2022-12-24 19:09:09 -08:00
|MAX - Max value|`MAX_Series`|✔️MAX|||✔️max|
|MIN - Min value|`MIN_Series`|✔️MIN|||✔️min|
|SUM - Summation|`SUM_Series`|✔️SUM|||✔️sum|
2022-12-22 09:14:18 -08:00
|ADD - Addition|`ADD_Series`|✔️ADD|||✔️add|
|SUB - Subtraction|`SUB_Series`|✔️SUB|||✔️sub|
|MUL - Multiplication|`MUL_Series`|✔️MUL|||✔️mul|
|DIV - Division|`DIV_Series`|✔️DIV|||✔️div|
2022-12-21 07:24:21 -08:00
|||||
2022-12-22 09:14:18 -08:00
|**STATISTICS & NUMERICAL ANALYSIS**|
2022-12-21 07:24:21 -08:00
||||||
2022-12-22 09:14:18 -08:00
|BIAS - Bias|`BIAS_Series`|||✔️bias|
|CORR - Pearson's Correlation Coefficient|`CORR_Series`|✔️CORREL|✔️GetCorrelation||
|COVAR - Covariance|`COVAR_Series`||✔️GetCorrelation||
2023-01-05 16:40:08 -08:00
|DECAY - Linear Decay|`DECAY_Series`|||decay|✔️decay|
|EDECAY - Exponential Decay|`DECAY_Series`|||decay|✔️edecay|
|ENTROPY - Entropy|`ENTROPY_Series`|||entropy||
2022-12-22 09:14:18 -08:00
|KURTOSIS - Kurtosis|`KURT_Series`|||✔️kurtosis|
2022-12-24 19:09:09 -08:00
|LINREG - Linear Regression|`LINREG_Series`||✔️GetSlope||✔️linregslope|
2022-12-22 09:14:18 -08:00
|MAD - Mean Absolute Deviation|`MAD_Series`||✔️GetSmaAnalysis|✔️mad|
|MAPE - Mean Absolute Percent Error|`MAPE_Series`||✔️GetSmaAnalysis||
|MEDIAN - Median value|`MEDIAN_Series`|||✔️median|
|MSE - Mean Squared Error|`MSE_Series`||✔️GetSmaAnalysis||
|SKEW - Skewness||||skew|
|⭐SDEV - Standard Deviation (Volatility)|`SDEV_Series`|✔️STDDEV|✔️GetStdDev|✔️stdev|✔️stddev|
|SSDEV - Sample Standard Deviation|`SSDEV_Series`|||✔️stdev|
|SMAPE - Symmetric Mean Absolute Percent Error|`SMAPE_Series`||||
|VAR - Population Variance|`VAR_Series`|✔️VAR||✔️variance|✔️var|
|SVAR - Sample Variance|`SVAR_Series`|||✔️variance|
|QUANTILE - Quantile||||quantile|
|WMAPE - Weighted Mean Absolute Percent Error|`WMAPE_Series`||||
|ZSCORE - Number of standard deviations from mean|`ZSCORE_Series`||✔️GetStdDev|✔️zscore|
2022-12-21 07:24:21 -08:00
||||||
2022-12-22 09:14:18 -08:00
|**TREND INDICATORS & AVERAGES**|
2022-12-21 07:24:21 -08:00
||||||
2022-12-22 09:14:18 -08:00
|AFIRMA - Autoregressive Finite Impulse Response Moving Average|||||
|ALMA - Arnaud Legoux Moving Average|`ALMA_Series`||✔️GetAlma|alma|
2023-01-05 16:40:08 -08:00
|DEMA - Double EMA Average|`DEMA_Series`|✔️DEMA|✔️GetDema|✔️dema|✔️dema|
2022-12-22 09:14:18 -08:00
|DWMA - Double WMA Average|`DWMA_Series`|||||
2023-03-19 18:33:25 -07:00
|⭐[EMA - Exponential Moving Average](EMA.md)|`EMA_Series`|✔️EMA|✔️GetEma|✔️ema|✔️ema|
2022-12-22 09:14:18 -08:00
|EPMA - Endpoint Moving Average|||GetEpma||
|FRAMA - Fractal Adaptive Moving Average|||||
2023-01-04 13:51:50 -08:00
|FMA - Fibonacci's Weighted Moving Average|`FMA_Series`|||fwma|
2022-12-22 09:14:18 -08:00
|HILO - Gann High-Low Activator||||hilo|
|HEMA - Hull/EMA Average|`HEMA_Series`||||
|Hilbert Transform Instantaneous Trendline||HT_TRENDLINE|GetHtTrendline||
|⭐HMA - Hull Moving Average|`HMA_Series`||✔️GetHma|✔️hma|✔️hma|
2022-12-27 12:06:54 -08:00
|HWMA - Holt-Winter Moving Average|`HWMA_Series`|||✔️hwma|
2022-12-22 09:14:18 -08:00
|JMA - Jurik Moving Average|`JMA_Series`|||jma||
2022-12-24 19:09:09 -08:00
|KAMA - Kaufman's Adaptive Moving Average|`KAMA_Series`|✔️KAMA|✔️GetKama|✔️kama|✔️kama|
2022-12-22 09:14:18 -08:00
|KDJ - KDJ Indicator (trend reversal)||||kdj|
|LSMA - Least Squares Moving Average|||GetEpma||
2022-12-24 19:09:09 -08:00
|⭐MACD - Moving Average Convergence/Divergence|`MACD_Series`|✔️MACD|✔️GetMacd|✔️macd|✔️macd|
2022-12-22 09:14:18 -08:00
|MAMA - MESA Adaptive Moving Average|`MAMA_Series`|✔️MAMA|✔️GetMama||
|MCGD - McGinley Dynamic||||mcgd|
|MMA - Modified Moving Average|||||
|PPMA - Pivot Point Moving Average|||||
|PWMA - Pascal's Weighted Moving Average||||pwma|
|⭐RMA - WildeR's Moving Average|`RMA_Series`|||✔️rma|✔️rma|
|SINWMA - Sine Weighted Moving Average||||sinwma|
2023-01-07 22:32:33 -08:00
|⭐[SMA - Simple Moving Average](SMA.md)|`SMA_Series`|✔️SMA|✔️GetSma|✔️sma|✔️sma|
2022-12-22 09:14:18 -08:00
|SMMA - Smoothed Moving Average|`SMMA_Series`||✔️GetSmma||
|SSF - Ehler's Super Smoother Filter||||ssf|
|SUPERTREND - Supertrend||||supertrend|
|SWMA - Symmetric Weighted Moving Average||||swma|
2023-01-05 16:40:08 -08:00
|T3 - Tillson T3 Moving Average|`T3_Series`|✔️T3|✔️GetT3|✔️t3||
|⭐TEMA - Triple EMA Average|`TEMA_Series`|✔️TEMA|✔️GetTema|✔️tema|✔️tema|
2022-12-22 09:14:18 -08:00
|⭐TRIMA - Triangular Moving Average|`TRIMA_Series`|✔️TRIMA||✔️trima|✔️trima|
|TSF - Time Series Forecast||TSF|||
|VIDYA - Variable Index Dynamic Average||||vidya|vidya|
|VORTEX - Vortex Indicator||||vortex|
|⭐WMA - Weighted Moving Average|`WMA_Series`|✔️WMA|✔️GetWma|✔️wma|✔️wma|
|ZLEMA - Zero Lag EMA Average|`ZLEMA_Series`|||✔️zlma|❌zlema|
2022-12-21 07:24:21 -08:00
||||||
2022-12-22 09:14:18 -08:00
|**VOLATILITY INDICATORS**|
2022-12-21 07:24:21 -08:00
||||||
2022-12-22 09:14:18 -08:00
|⭐ADL - Chaikin Accumulation Distribution Line|`ADL_Series`|✔️AD|✔️GetAdl|✔️ad|✔️ad|
|⭐ADOSC - Chaikin Accumulation Distribution Oscillator|`ADOSC_Series`|✔️ADOSC||✔️adosc|✔️adosc|
2023-01-05 16:40:08 -08:00
|⭐ATR - Average True Range|`ATR_Series`|✔️ATR|✔️GetAtr|✔️atr|✔️atr|
|ATRP - Average True Range Percent|`ATRP_Series`||✔️GetAtr||
2022-12-22 09:14:18 -08:00
|BETA - Beta coefficient||BETA|GetBeta||
|⭐BBANDS - Bollinger Bands®|`BBANDS_Series`|✔️BBANDS|✔️GetBollingerBands|✔️bbands|✔️bbands|
2022-12-22 09:14:18 -08:00
|CHAND - Chandelier Exit|||GetChandelier||
|CRSI - Connor RSI|||GetConnorsRsi||
|CVI - Chaikins Volatility|||||cvi|
|DON - Donchian Channels|||GetDonchian||
|FCB - Fractal Chaos Bands|||GetFcb||
|FISHER - Fisher Transform|||GetFcb||fisher|
|HV - Historical Volatility|||||
|ICH - Ichimoku|||GetIchimoku||
|KEL - Keltner Channels|||GetKeltner||
|NATR - Normalized Average True Range||NATR|GetAtr||
|CHN - Price Channel Indicator|||||
|RSI - Relative Strength Index|`RSI_Series`|✔️RSI|✔️GetRsi|✔️rsi|✔️rsi|
|SAR - Parabolic Stop and Reverse||SAR|GetParabolicSar||
|SRSI - Stochastic RSI||STOCHRSI|GetStochRsi||
|STARC - Starc Bands|||||
|TR - True Range|`TR_Series`|✔️TRANGE|✔️GetTr|✔️true_range|✔️tr|
|UI - Ulcer Index|||||
|VSTOP - Volatility Stop|||||
2022-12-21 07:24:21 -08:00
||||||
2022-12-22 09:14:18 -08:00
|**MOMENTUM INDICATORS & OSCILLATORS**|
2022-12-21 07:24:21 -08:00
||||||
2022-12-22 09:14:18 -08:00
|AC - Acceleration Oscillator|||||
|ADX - Average Directional Movement Index||ADX|GetAdx||adx|
|ADXR - Average Directional Movement Index Rating||ADXR|GetAdx||adxr|
|AO - Awesome Oscillator|||GetAwesome||ao|
|APO - Absolute Price Oscillator||APO|||apo|
|AROON - Aroon oscillator||AROON|GetAroon||aroon|
|BOP - Balance of Power||BOP|GetBop||bop|
|CCI - Commodity Channel Index|`CCI_Series`|✔️CCI|✔️GetCci||❌cci|
|CFO - Chande Forcast Oscillator|||||
|CMO - Chande Momentum Oscillator|`CMO_Series`|❌CMO|✔️GetCmo|❌cmo|✔️cmo|
|COG - Center of Gravity|||||
|COPPOCK - Coppock Curve|||||
|CTI - Ehler's Correlation Trend Indicator|||||
|DPO - Detrended Price Oscillator|||GetDpo||
|DMI - Directional Movement Index||DX|GetAdx||
|EFI - Elder Ray's Force Index|||GetElderRay||
|FOSC - Forecast oscillator|||||fosc|
|GAT - Alligator oscillator|||GetGator||
|HURST - Hurst Exponent|||GetHurst||
|KRI - Kairi Relative Index|||||
|KVO - Klinger Volume Oscillator||||||
|MFI - Money Flow Index||MFI|GetMfi||
|MOM - Momentum||MOM|||
|NVI - Negative Volume Index|||||
|PO - Price Oscillator|||||
|PPO - Percentage Price Oscillator||PPO|||
|PMO - Price Momentum Oscillator|||||
|PVI - Positive Volume Index|||||
|ROC - Rate of Change||MOM|GetRoc||
|RVGI - Relative Vigor Index|||||
|SMI - Stochastic Momentum Index|||||
|STC - Schaff Trend Cycle|||||
|STOCH - Stochastic Oscillator||STOCH|GetStoch||
2022-12-26 19:03:54 -08:00
|TRIX - 1-day ROC of TEMA|`TRIX_Series`|✔️TRIX|✔️GetTrix|✔️trix|❌trix|
2022-12-22 09:14:18 -08:00
|TSI - True Strength Index|||||
|UO - Ultimate Oscillator||ULTOSC|GetUltimate||ultosc|
|WILLR - Larry Williams' %R||WILLR|GetWilliamsR||willr|
|WGAT - Williams Alligator|||||
2022-12-21 07:24:21 -08:00
||||||
2022-12-22 09:14:18 -08:00
|**VOLUME INDICATORS**|
2022-12-21 07:24:21 -08:00
||||||
2022-12-22 09:14:18 -08:00
|AOBV - Archer On-Balance Volume|||||
|CMF - Chaikin Money Flow|||||
|EOM - Ease of Movement|||||emv|
|KVO - Klinger Volume Oscilaltor|||||kvo|
|OBV - On-Balance Volume|`OBV_Series`|✔️OBV|✔️GetObv|✔️obv|❌obv|
|PRS - Price Relative Strength||||
|PVOL - Price-Volume|||||
|PVO - Percentage Volume Oscillator|||||
|PVR - Price Volume Rank|||||
|PVT - Price Volume Trend|||||
|VP - Volume Profile|||||
|VWAP - Volume Weighted Average Price|||||
|VWMA - Volume Weighted Moving Average|||||vwma|