2026-01-18 19:02:03 -08:00
# Trends (FIR)
Finite Impulse Response (FIR) trend indicators. These use fixed-length windows with explicit coefficients. No feedback loops, no recursion. Output depends only on current and past inputs. Always stable. Linear phase possible. SIMD-friendly batch computation.
2026-01-19 18:25:48 -08:00
## Indicators
2026-01-18 19:02:03 -08:00
2026-01-19 18:25:48 -08:00
| Indicator | Full Name | Description |
2026-01-18 19:02:03 -08:00
| :--- | :--- | :--- |
2026-02-02 19:47:21 -08:00
| [ALMA ](alma/Alma.md ) | Arnaud Legoux MA | Gaussian window with offset parameter. Smooth with configurable lag. |
| [BLMA ](blma/Blma.md ) | Blackman MA | Blackman window. Excellent side-lobe suppression (-58 dB). |
| [BWMA ](bwma/Bwma.md ) | Bessel-Weighted MA | Bessel window function. Good frequency resolution. |
| [CONV ](conv/Conv.md ) | Convolution MA | Generic convolution with custom kernel. Building block for others. |
2026-03-03 08:33:20 -08:00
| [CRMA ](crma/Crma.md ) | Cubic Regression MA | Cubic polynomial regression endpoint. Higher-order trend fit. |
2026-02-02 19:47:21 -08:00
| [DWMA ](dwma/Dwma.md ) | Double Weighted MA | WMA of WMA. Smoother than single WMA. Triangular-like response. |
2026-03-03 08:33:20 -08:00
| [FWMA ](fwma/Fwma.md ) | Fibonacci Weighted MA | Fibonacci-number kernel convolution. Golden ratio weighting. |
2026-02-02 19:47:21 -08:00
| [GWMA ](gwma/Gwma.md ) | Gaussian Weighted MA | Centered Gaussian bell curve. No overshoot. σ controls width. |
| [HAMMA ](hamma/Hamma.md ) | Hamming MA | Hamming window. -43 dB side lobes. Good general purpose. |
| [HANMA ](hanma/Hanma.md ) | Hanning MA | Hanning (raised cosine). Zero at edges. Smooth roll-off. |
2026-03-03 08:33:20 -08:00
| [HEND ](hend/Hend.md ) | Henderson MA | Henderson window. Optimized for trend extraction. Minimal distortion. |
2026-02-02 19:47:21 -08:00
| [HMA ](hma/Hma.md ) | Hull MA | Reduced lag via weighted average differencing. Can overshoot. |
2026-03-03 08:33:20 -08:00
| [ILRS ](ilrs/Ilrs.md ) | Integral of Linear Regression Slope | Cumulative linear regression slope. Smooth trend tracking. |
| [KAISER ](kaiser/Kaiser.md ) | Kaiser Window MA | Kaiser-Bessel window. Adjustable β parameter for sidelobe control. |
| [LANCZOS ](lanczos/Lanczos.md ) | Lanczos (Sinc) Window MA | Windowed sinc function. Optimal frequency-domain characteristics. |
2026-02-02 19:47:21 -08:00
| [LSMA ](lsma/Lsma.md ) | Least Squares MA | Linear regression endpoint. Extrapolates trend. |
2026-02-21 20:45:38 -08:00
| [NLMA ](nlma/Nlma.md ) | Non-Lag MA | Damped cosine kernel convolution. Near-zero lag FIR. |
2026-03-03 08:33:20 -08:00
| [NYQMA ](nyqma/Nyqma.md ) | Nyquist MA | Dual LWMA cascade. Nyquist-compliant FIR smoothing. |
| [PARZEN ](parzen/Parzen.md ) | Parzen (de la Vallée-Poussin) Window MA | Parzen window. Piecewise cubic. Good spectral leakage control. |
2026-02-21 20:45:38 -08:00
| [PMA ](pma/Pma.md ) | Predictive Moving Average | Ehlers predictive filter combining WMA cascade with linear extrapolation. |
2026-02-02 19:47:21 -08:00
| [PWMA ](pwma/Pwma.md ) | Pascal Weighted MA | Pascal's triangle coefficients. Binomial distribution weights. |
2026-03-03 08:33:20 -08:00
| [QRMA ](qrma/Qrma.md ) | Quadratic Regression MA | Quadratic polynomial regression endpoint. Captures curvature. |
| [RAIN ](rain/Rain.md ) | Rainbow MA | 10× cascaded SMA. Extreme smoothing via FIR convolution. |
| [RWMA ](rwma/Rwma.md ) | Range Weighted MA | Weights derived from bar range. Volatility-adaptive FIR. |
2026-02-02 19:47:21 -08:00
| [SGMA ](sgma/Sgma.md ) | Savitzky-Golay MA | Polynomial fit. Preserves higher moments. Shape-preserving. |
| [SINEMA ](sinema/Sinema.md ) | Sine-Weighted MA | Sine wave weighting. Smooth bell-shaped emphasis. |
| [SMA ](sma/Sma.md ) | Simple MA | Equal weights. Baseline reference. Lag = (N-1)/2. |
2026-03-03 08:33:20 -08:00
| [SP15 ](sp15/Sp15.md ) | Spencer 15-Point MA | Spencer's 15-point symmetric filter. Classic statistical smoothing. |
| [SWMA ](swma/Swma.md ) | Symmetric Weighted MA | Symmetric linear weights. Equal emphasis on both tails. |
2026-02-02 19:47:21 -08:00
| [TRIMA ](trima/Trima.md ) | Triangular MA | Triangular weights. SMA of SMA. Emphasizes middle. |
2026-02-20 18:44:56 -08:00
| [TSF ](tsf/Tsf.md ) | Time Series Forecast | Linear regression projected one step ahead. Extrapolates trend. |
2026-03-03 08:33:20 -08:00
| [TUKEY_W ](tukey_w/Tukey_w.md ) | Tukey (Tapered Cosine) Window MA | Tukey window with adjustable taper ratio α . Flat-top cosine edges. |
2026-02-02 19:47:21 -08:00
| [WMA ](wma/Wma.md ) | Weighted MA | Linear weights. Recent prices weighted more. Lag < SMA. |