aberration#

aberration(high, low, close, length=None, atr_length=None, offset=None, **kwargs)[source]#

Aberration

A volatility indicator similar to Keltner Channels.

Sources:

Few internet resources on definitive definition. Request by Github user homily, issue #46

Calculation:
Default Inputs:

length=5, atr_length=15

ATR = Average True Range SMA = Simple Moving Average

ATR = ATR(length=atr_length) JG = TP = HLC3(high, low, close) ZG = SMA(JG, length) SG = ZG + ATR XG = ZG - ATR

Args:

high (pd.Series): Series of ‘high’s low (pd.Series): Series of ‘low’s close (pd.Series): Series of ‘close’s length (int): The short period. Default: 5 atr_length (int): The short period. Default: 15 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.DataFrame: zg, sg, xg, atr columns.