rma#
- rma(close, length=None, offset=None, **kwargs)[source]#
wildeR’s Moving Average (RMA)
The WildeR’s Moving Average is simply an Exponential Moving Average (EMA) with a modified alpha = 1 / length.
- Sources:
https://tlc.thinkorswim.com/center/reference/Tech-Indicators/studies-library/V-Z/WildersSmoothing https://www.incrediblecharts.com/indicators/wilder_moving_average.php
- Calculation:
- Default Inputs:
length=10
EMA = Exponential Moving Average alpha = 1 / length RMA = EMA(close, alpha=alpha)
- Args:
close (pd.Series): Series of ‘close’s length (int): It’s period. Default: 10 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.