v2
Added:
DFT32(xval)
DFT32 Combined Discrete Fourier Transforms of DFT3 and DTF2 it aproximates last point by first
aproximating last 3 ponts and than using last 2 points of the previus.
Parameters:
xval (float): Array of input values
Returns: Aproxiated source value
Updated:
DFT3(xval, _dir)
DFT3 Discrete Fourier Transform with last 3 points
Parameters:
xval (float)
_dir (int): Direction parameter
Returns: Aproxiated source value
DFT2(xval, _dir)
DFT2 Discrete Fourier Transform with last 2 points
Parameters:
xval (float)
_dir (int): Direction parameter
Returns: Aproxiated source value
FFT(xval)
FFT Fast Fourier Transform once. It aproximates usig last 3 points.
Parameters:
xval (float): Array of input values
Returns: Aproxiated source value
whitenoise(indic_, dft1, _devided, minEmaLength, maxEmaLength, src)
whitenoise Ehler's Universal Oscillator with White Noise and DFT1.
It uses src and sproxiated src (dft1) to clearly define white noice.
It uses dinamic EMA to aproximate indicator and thus reducing noise.
Parameters:
indic_ (float): Input series for the indicator values to be smoothed
dft1 (float): Aproximated src value for white noice calculation
_devided (int): Divisor for oscillator calculations
minEmaLength (int): Minimum EMA length
maxEmaLength (int): Maximum EMA length
src (float): Source series
Returns: Smoothed indicator value
smooth(indic__, _devided, minEmaLength, maxEmaLength, src)
smooth Smoothing source value with help of indicator series
It uses dinamic EMA to aproximate src and thus reducing noise.
Parameters:
indic__ (float): Optional input for indicator to help smooth dft1 (default is FFT)
_devided (int): Divisor for smoothing calculations
minEmaLength (int): Minimum EMA length
maxEmaLength (int): Maximum EMA length
src (float): Source series
Returns: Smoothed src series
vzo_ema(src, len)
vzo_ema Volume Zone Oscillator with EMA smoothing
Parameters:
src (float): Source series
len (simple int): Length parameter for EMA
Returns: VZO value
vzo_sma(src, len)
vzo_sma Volume Zone Oscillator with SMA smoothing
Parameters:
src (float): Source series
len (int): Length parameter for SMA
Returns: VZO value
vzo_wma(src, len)
vzo_wma Volume Zone Oscillator with WMA smoothing
Parameters:
src (float): Source series
len (int): Length parameter for WMA
Returns: VZO value
alma2(series, windowsize, offset, sigma)
alma2 Arnaud Legoux Moving Average 2 accepts sigma as series float
Parameters:
series (float): Input series
windowsize (int): Size of the moving average window
offset (float): Offset parameter
sigma (float): Sigma parameter
Returns: ALMA value
Wavelet(src, len, offset, sigma)
Wavelet Wavelet Transform
Parameters:
src (float): Source series
len (int): Length parameter for ALMA
offset (simple float)
sigma (simple float)
Returns: Wavelet-transformed series
Wavelet_std(src, len, offset, mag)
Wavelet_std Wavelet Transform with Standard Deviation
Parameters:
src (float): Source series
len (int): Length parameter for ALMA
offset (float): Offset parameter for ALMA
mag (int): Magnitude parameter for standard deviation
Returns: Wavelet-transformed series
Removed:
DTF32(xval)
DTF32: Combined Discrete Fourier Transforms