Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,12 @@ for group, names in talib.get_function_groups().items():

```text
ACCBANDS Acceleration Bands
ALLIGATOR Williams Alligator
ALMA Arnaud Legoux Moving Average
BBANDS Bollinger Bands
CE Chandelier Exit
CKSP Chande Kroll Stop
CPR Central Pivot Range
DEMA Double Exponential Moving Average
DONCHIAN Donchian Channels
EMA Exponential Moving Average
Expand All @@ -548,6 +551,7 @@ ICHIMOKU Ichimoku Kinko Hyo
KAMA Kaufman Adaptive Moving Average
KC Keltner Channels
MA Moving average
MAENV Moving Average Envelope
MAMA MESA Adaptive Moving Average
MAVP Moving average with variable period
MCGD McGinley Dynamic
Expand All @@ -557,6 +561,7 @@ RMA Wilder's Smoothed Moving Average
SAR Parabolic SAR
SAREXT Parabolic SAR - Extended
SMA Simple Moving Average
SSF Ehlers SuperSmoother Filter
SUPERTREND SuperTrend
SWAK_BUTTER Swiss Army Knife - Butterworth Filter
SWAK_GAUSS Swiss Army Knife - Gaussian Filter
Expand Down Expand Up @@ -599,6 +604,7 @@ ERI Elder Ray Index (Bull Power / Bear Power)
FISHER Fisher Transform
FOSC Forecast Oscillator
FRACTAL Williams Fractal
GATOR Gator Oscillator
IBS Internal Bar Strength
IMI Intraday Momentum Index
KDJ KDJ Stochastic
Expand All @@ -607,6 +613,7 @@ KSTEXT Know Sure Thing with controllable MA type
MACD Moving Average Convergence/Divergence
MACDEXT MACD with controllable MA type
MACDFIX Moving Average Convergence/Divergence Fix 12/26
MACDV MACD-V, Volatility Normalised Momentum
MFI Money Flow Index
MINUS_DI Minus Directional Indicator
MINUS_DM Minus Directional Movement
Expand All @@ -615,6 +622,7 @@ PLUS_DI Plus Directional Indicator
PLUS_DM Plus Directional Movement
PPO Percentage Price Oscillator
PSO Premier Stochastic Oscillator
PSY Psychological Line
QSTICK Qstick
ROC Rate of change : ((price/prevPrice)-1)*100
ROCP Rate of change Percentage: (price-prevPrice)/prevPrice
Expand Down Expand Up @@ -695,6 +703,8 @@ ROGERSSATCHELL Rogers-Satchell Volatility
RVI Relative Volatility Index
RVIR Relative Volatility Index, refined high/low form
TRANGE True Range
ULCER Ulcer Index
ULCER_ROLL Ulcer Index, rolling high
```

#### Pattern Recognition
Expand Down Expand Up @@ -776,6 +786,9 @@ LINEARREG_SLOPE Linear Regression Slope
MEDIAN Rolling Median
PERCENTILE Percentile (nearest rank)
PERCENTRANK Percent Rank
SHARPE Rolling Sharpe Ratio
SKEW Rolling Skewness
SORTINO Rolling Sortino Ratio
STDDEV Standard Deviation
TSF Time Series Forecast
VAR Variance
Expand Down
15 changes: 15 additions & 0 deletions docs/func_groups/momentum_indicators.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ real = FOSC(close, timeperiod=5)
swinghigh, swinglow = FRACTAL(high, low, leftbars=2, rightbars=2)
```

### GATOR - Gator Oscillator
```python
upper, lower = GATOR(high, low, jawperiod=13, jawshift=8, teethperiod=8, teethshift=5, lipsperiod=5, lipsshift=3)
```

### IBS - Internal Bar Strength
```python
real = IBS(high, low, close)
Expand Down Expand Up @@ -173,6 +178,11 @@ macd, macdsignal, macdhist = MACDEXT(close, fastperiod=12, fastmatype=0, slowper
macd, macdsignal, macdhist = MACDFIX(close, signalperiod=9)
```

### MACDV - MACD-V, Volatility Normalised Momentum
```python
macdv, macdvsignal, macdvhist = MACDV(high, low, close, fastperiod=12, slowperiod=26, signalperiod=9)
```

### MFI - Money Flow Index
```python
real = MFI(high, low, close, volume, timeperiod=14)
Expand Down Expand Up @@ -217,6 +227,11 @@ real = PPO(close, fastperiod=12, slowperiod=26, matype=1)
real = PSO(high, low, close, fastk_period=8, emaperiod=5)
```

### PSY - Psychological Line
```python
real = PSY(close, timeperiod=12)
```

### QSTICK - Qstick
```python
real = QSTICK(open, close, timeperiod=10)
Expand Down
26 changes: 26 additions & 0 deletions docs/func_groups/overlap_studies.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
upperband, middleband, lowerband = ACCBANDS(high, low, close, timeperiod=20)
```

### ALLIGATOR - Williams Alligator
```python
jaw, teeth, lips = ALLIGATOR(high, low, jawperiod=13, jawshift=8, teethperiod=8, teethshift=5, lipsperiod=5, lipsshift=3)
```

### ALMA - Arnaud Legoux Moving Average
```python
real = ALMA(close, timeperiod=9, sigma=6, offset=0.85)
Expand All @@ -14,11 +19,21 @@ real = ALMA(close, timeperiod=9, sigma=6, offset=0.85)
upperband, middleband, lowerband = BBANDS(close, timeperiod=20, nbdevup=2, nbdevdn=2, matype=0)
```

### CE - Chandelier Exit
```python
long, short = CE(high, low, close, timeperiod=22, multiplier=3)
```

### CKSP - Chande Kroll Stop
```python
highstop, lowstop = CKSP(high, low, close, timeperiod=10, multiplier=1, stopperiod=9)
```

### CPR - Central Pivot Range
```python
upperband, middleband, lowerband = CPR(high, low, close)
```

### DEMA - Double Exponential Moving Average
```python
real = DEMA(close, timeperiod=30)
Expand Down Expand Up @@ -73,6 +88,11 @@ upperband, middleband, lowerband = KC(high, low, close, timeperiod=20, atrperiod
real = MA(close, timeperiod=30, matype=0)
```

### MAENV - Moving Average Envelope
```python
upperband, middleband, lowerband = MAENV(close, timeperiod=20, percentup=10, percentdn=10, matype=0)
```

### MAMA - MESA Adaptive Moving Average
NOTE: The ``MAMA`` function has an unstable period.
```python
Expand Down Expand Up @@ -121,6 +141,12 @@ real = SAREXT(high, low, startvalue=0, offsetonreverse=0, accelerationinitlong=0
real = SMA(close, timeperiod=30)
```

### SSF - Ehlers SuperSmoother Filter
NOTE: The ``SSF`` function has an unstable period.
```python
real = SSF(close, timeperiod=10)
```

### SUPERTREND - SuperTrend
```python
supertrend, trend = SUPERTREND(high, low, close, timeperiod=10, multiplier=3)
Expand Down
15 changes: 15 additions & 0 deletions docs/func_groups/statistic_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@ real = PERCENTILE(close, timeperiod=100, percentile=50)
real = PERCENTRANK(close, timeperiod=100)
```

### SHARPE - Rolling Sharpe Ratio
```python
real = SHARPE(close, timeperiod=20, riskfreerate=0, annualization=252)
```

### SKEW - Rolling Skewness
```python
real = SKEW(close, timeperiod=30)
```

### SORTINO - Rolling Sortino Ratio
```python
real = SORTINO(close, timeperiod=20, mar=0, annualization=252)
```

### STDDEV - Standard Deviation
```python
real = STDDEV(close, timeperiod=5, nbdev=1)
Expand Down
10 changes: 10 additions & 0 deletions docs/func_groups/volatility_indicators.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ real = RVIR(high, low, timeperiod=14, stddevperiod=10)
real = TRANGE(high, low, close)
```

### ULCER - Ulcer Index
```python
real = ULCER(close, timeperiod=14)
```

### ULCER_ROLL - Ulcer Index, rolling high
```python
real = ULCER_ROLL(close, timeperiod=14)
```


[Documentation Index](../doc_index.md)
[FLOAT_RIGHTAll Function Groups](../funcs.md)
13 changes: 13 additions & 0 deletions docs/funcs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@

```
ACCBANDS Acceleration Bands
ALLIGATOR Williams Alligator
ALMA Arnaud Legoux Moving Average
BBANDS Bollinger Bands
CE Chandelier Exit
CKSP Chande Kroll Stop
CPR Central Pivot Range
DEMA Double Exponential Moving Average
DONCHIAN Donchian Channels
EMA Exponential Moving Average
Expand All @@ -28,6 +31,7 @@ ICHIMOKU Ichimoku Kinko Hyo
KAMA Kaufman Adaptive Moving Average
KC Keltner Channels
MA Moving average
MAENV Moving Average Envelope
MAMA MESA Adaptive Moving Average
MAVP Moving average with variable period
MCGD McGinley Dynamic
Expand All @@ -37,6 +41,7 @@ RMA Wilder's Smoothed Moving Average
SAR Parabolic SAR
SAREXT Parabolic SAR - Extended
SMA Simple Moving Average
SSF Ehlers SuperSmoother Filter
SUPERTREND SuperTrend
SWAK_BUTTER Swiss Army Knife - Butterworth Filter
SWAK_GAUSS Swiss Army Knife - Gaussian Filter
Expand Down Expand Up @@ -79,6 +84,7 @@ ERI Elder Ray Index (Bull Power / Bear Power)
FISHER Fisher Transform
FOSC Forecast Oscillator
FRACTAL Williams Fractal
GATOR Gator Oscillator
IBS Internal Bar Strength
IMI Intraday Momentum Index
KDJ KDJ Stochastic
Expand All @@ -87,6 +93,7 @@ KSTEXT Know Sure Thing with controllable MA type
MACD Moving Average Convergence/Divergence
MACDEXT MACD with controllable MA type
MACDFIX Moving Average Convergence/Divergence Fix 12/26
MACDV MACD-V, Volatility Normalised Momentum
MFI Money Flow Index
MINUS_DI Minus Directional Indicator
MINUS_DM Minus Directional Movement
Expand All @@ -95,6 +102,7 @@ PLUS_DI Plus Directional Indicator
PLUS_DM Plus Directional Movement
PPO Percentage Price Oscillator
PSO Premier Stochastic Oscillator
PSY Psychological Line
QSTICK Qstick
ROC Rate of change : ((price/prevPrice)-1)*100
ROCP Rate of change Percentage: (price-prevPrice)/prevPrice
Expand Down Expand Up @@ -175,6 +183,8 @@ ROGERSSATCHELL Rogers-Satchell Volatility
RVI Relative Volatility Index
RVIR Relative Volatility Index, refined high/low form
TRANGE True Range
ULCER Ulcer Index
ULCER_ROLL Ulcer Index, rolling high
```

#### [Pattern Recognition](func_groups/pattern_recognition.md)
Expand Down Expand Up @@ -256,6 +266,9 @@ LINEARREG_SLOPE Linear Regression Slope
MEDIAN Rolling Median
PERCENTILE Percentile (nearest rank)
PERCENTRANK Percent Rank
SHARPE Rolling Sharpe Ratio
SKEW Rolling Skewness
SORTINO Rolling Sortino Ratio
STDDEV Standard Deviation
TSF Time Series Forecast
VAR Variance
Expand Down
13 changes: 13 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,12 @@ for group, names in talib.get_function_groups().items():

```text
ACCBANDS Acceleration Bands
ALLIGATOR Williams Alligator
ALMA Arnaud Legoux Moving Average
BBANDS Bollinger Bands
CE Chandelier Exit
CKSP Chande Kroll Stop
CPR Central Pivot Range
DEMA Double Exponential Moving Average
DONCHIAN Donchian Channels
EMA Exponential Moving Average
Expand All @@ -162,6 +165,7 @@ ICHIMOKU Ichimoku Kinko Hyo
KAMA Kaufman Adaptive Moving Average
KC Keltner Channels
MA Moving average
MAENV Moving Average Envelope
MAMA MESA Adaptive Moving Average
MAVP Moving average with variable period
MCGD McGinley Dynamic
Expand All @@ -171,6 +175,7 @@ RMA Wilder's Smoothed Moving Average
SAR Parabolic SAR
SAREXT Parabolic SAR - Extended
SMA Simple Moving Average
SSF Ehlers SuperSmoother Filter
SUPERTREND SuperTrend
SWAK_BUTTER Swiss Army Knife - Butterworth Filter
SWAK_GAUSS Swiss Army Knife - Gaussian Filter
Expand Down Expand Up @@ -213,6 +218,7 @@ ERI Elder Ray Index (Bull Power / Bear Power)
FISHER Fisher Transform
FOSC Forecast Oscillator
FRACTAL Williams Fractal
GATOR Gator Oscillator
IBS Internal Bar Strength
IMI Intraday Momentum Index
KDJ KDJ Stochastic
Expand All @@ -221,6 +227,7 @@ KSTEXT Know Sure Thing with controllable MA type
MACD Moving Average Convergence/Divergence
MACDEXT MACD with controllable MA type
MACDFIX Moving Average Convergence/Divergence Fix 12/26
MACDV MACD-V, Volatility Normalised Momentum
MFI Money Flow Index
MINUS_DI Minus Directional Indicator
MINUS_DM Minus Directional Movement
Expand All @@ -229,6 +236,7 @@ PLUS_DI Plus Directional Indicator
PLUS_DM Plus Directional Movement
PPO Percentage Price Oscillator
PSO Premier Stochastic Oscillator
PSY Psychological Line
QSTICK Qstick
ROC Rate of change : ((price/prevPrice)-1)*100
ROCP Rate of change Percentage: (price-prevPrice)/prevPrice
Expand Down Expand Up @@ -309,6 +317,8 @@ ROGERSSATCHELL Rogers-Satchell Volatility
RVI Relative Volatility Index
RVIR Relative Volatility Index, refined high/low form
TRANGE True Range
ULCER Ulcer Index
ULCER_ROLL Ulcer Index, rolling high
```

#### [Pattern Recognition](func_groups/pattern_recognition.md)
Expand Down Expand Up @@ -390,6 +400,9 @@ LINEARREG_SLOPE Linear Regression Slope
MEDIAN Rolling Median
PERCENTILE Percentile (nearest rank)
PERCENTRANK Percent Rank
SHARPE Rolling Sharpe Ratio
SKEW Rolling Skewness
SORTINO Rolling Sortino Ratio
STDDEV Standard Deviation
TSF Time Series Forecast
VAR Variance
Expand Down
Loading
Loading