mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 12:38:06 +00:00
feat: add LPF - Ehlers Linear Predictive Filter (TASC Jan 2025)
Implements Ehlers' Linear Predictive Filter for dominant cycle detection: - Roofing filter (HP + SuperSmoother) → AGC → Griffiths adaptive predictor - DFT spectrum from predictor coefficients → Center of Gravity dominant cycle - Outputs: DominantCycle, Signal (AGC-normalized), Predict (one-bar-ahead) Files added: - lib/cycles/lpf/Lpf.cs (core implementation, sealed class) - lib/cycles/lpf/Lpf.Quantower.cs (3 LineSeries: Cycle, Signal, Predict) - lib/cycles/lpf/Lpf.md (canonical template v3 documentation) - lib/cycles/lpf/lpf.pine (PineScript v6 reference) - lib/cycles/lpf/tests/Lpf.Tests.cs (38 unit tests) - lib/cycles/lpf/tests/Lpf.Quantower.Tests.cs (22 adapter tests) Updated: index files, Python bridge (Exports.cs, _bridge.py, cycles.py)
This commit is contained in:
+3
-2
@@ -1,4 +1,4 @@
|
||||
# QuanTAlib Indicators
|
||||
# QuanTAlib Indicators
|
||||
|
||||
| Indicator | Full Name | Category |
|
||||
| :--------------------------------------------------------- | :------------------------------------------------------------------------ | :----------- |
|
||||
@@ -201,6 +201,7 @@
|
||||
| [LOGNORMDIST](numerics/lognormdist/Lognormdist.md) | Log-Normal Distribution | Numerics |
|
||||
| [LOGTRANS](numerics/logtrans/Logtrans.md) | Logarithmic Transform | Numerics |
|
||||
| [LOWEST](numerics/lowest/Lowest.md) | Rolling Minimum | Numerics |
|
||||
| [LPF](cycles/lpf/Lpf.md) | Ehlers Linear Predictive Filter | Cycles |
|
||||
| [LRSI](oscillators/lrsi/Lrsi.md) | Ehlers Laguerre RSI | Oscillators |
|
||||
| [LSMA](trends_FIR/lsma/Lsma.md) | Least Squares MA | Trends (FIR) |
|
||||
| [LTMA](trends_IIR/ltma/Ltma.md) | Linear Trend MA | Trends (IIR) |
|
||||
@@ -312,7 +313,7 @@
|
||||
| [RSE](errors/rse/Rse.md) | Relative Squared Error | Errors |
|
||||
| [RSI](momentum/rsi/Rsi.md) | Relative Strength Index | Momentum |
|
||||
| [RSIH](oscillators/rsih/Rsih.md) | Ehlers Hann-Windowed RSI | Oscillators |
|
||||
| [RSQUARED](errors/rsquared/Rsquared.md) | R² (Coefficient of Determination) | Errors |
|
||||
| [RSQUARED](errors/rsquared/Rsquared.md) | R² (Coefficient of Determination) | Errors |
|
||||
| [RSV](volatility/rsv/Rsv.md) | Rogers-Satchell Volatility | Volatility |
|
||||
| [RSX](momentum/rsx/Rsx.md) | Relative Strength Quality Index | Momentum |
|
||||
| [RV](volatility/rv/Rv.md) | Realized Volatility | Volatility |
|
||||
|
||||
Reference in New Issue
Block a user