- inertia(close=None, high=None, low=None, length=None, rvi_length=None, scalar=None, refined=None, thirds=None, mamode=None, drift=None, offset=None, **kwargs)#
Inertia was developed by Donald Dorsey and was introduced his article in September, 1995. It is the Relative Vigor Index smoothed by the Least Squares Moving Average. Postive Inertia when values are greater than 50, Negative Inertia otherwise.
- Default Inputs:
LSQRMA = Least Squares Moving Average
INERTIA = LSQRMA(RVI(length), ma_length)
open_ (pd.Series): Series of ‘open’s high (pd.Series): Series of ‘high’s low (pd.Series): Series of ‘low’s close (pd.Series): Series of ‘close’s length (int): It’s period. Default: 20 rvi_length (int): RVI period. Default: 14 refined (bool): Use ‘refined’ calculation. Default: False thirds (bool): Use ‘thirds’ calculation. Default: False mamode (str): See
`help(ta.ma)`. Default: ‘ema’ drift (int): The difference period. Default: 1 offset (int): How many periods to offset the result. Default: 0
fillna (value, optional): pd.DataFrame.fillna(value) fill_method (value, optional): Type of fill method
pd.Series: New feature generated.