adosc#

API documentation for pandas_ta.volume.adosc Python function.

adosc(high, low, close, volume, open_=None, fast=None, slow=None, talib=None, offset=None, **kwargs)[source]#

Accumulation/Distribution Oscillator or Chaikin Oscillator

Accumulation/Distribution Oscillator indicator utilizes Accumulation/Distribution and treats it similarily to MACD or APO.

Sources:

https://www.investopedia.com/articles/active-trading/031914/understanding-chaikin-oscillator.asp

Calculation:
Default Inputs:

fast=12, slow=26

AD = Accum/Dist ad = AD(high, low, close, open) fast_ad = EMA(ad, fast) slow_ad = EMA(ad, slow) ADOSC = fast_ad - slow_ad

Args:

high (pd.Series): Series of ‘high’s low (pd.Series): Series of ‘low’s close (pd.Series): Series of ‘close’s open (pd.Series): Series of ‘open’s volume (pd.Series): Series of ‘volume’s fast (int): The short period. Default: 12 slow (int): The long period. Default: 26 talib (bool): If TA Lib is installed and talib is True, Returns the TA Lib

version. Default: True

offset (int): How many periods to offset the result. Default: 0

Kwargs:

fillna (value, optional): pd.DataFrame.fillna(value) fill_method (value, optional): Type of fill method

Returns:

pd.Series: New feature generated.