ebsw#
- ebsw(close, length=None, bars=None, offset=None, **kwargs)[source]#
Even Better SineWave (EBSW) beta
This indicator measures market cycles and uses a low pass filter to remove noise. Its output is bound signal between -1 and 1 and the maximum length of a detected trend is limited by its length input.
Written by rengel8 for Pandas TA based on a publication at ‘prorealcode.com’ and a book by J.F.Ehlers.
This implementation seems to be logically limited. It would make sense to
implement exactly the version from prorealcode and compare the behaviour.
- Sources:
https://www.prorealcode.com/prorealtime-indicators/even-better-sinewave/ J.F.Ehlers ‘Cycle Analytics for Traders’, 2014
- Calculation:
refer to ‘sources’ or implementation
- Args:
close (pd.Series): Series of ‘close’s length (int): It’s max cycle/trend period. Values between 40-48 work like
expected with minimum value: 39. Default: 40.
bars (int): Period of low pass filtering. Default: 10 drift (int): The difference period. Default: 1 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.