mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-19 02:58:05 +00:00
doc headers
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
# BWMA: Bessel-Weighted Moving Average
|
||||
|
||||
| Property | Value |
|
||||
| ---------------- | -------------------------------- |
|
||||
| **Category** | Trend (FIR MA) |
|
||||
| **Inputs** | Source (close) |
|
||||
| **Parameters** | `period`, `order` (default 0) |
|
||||
| **Outputs** | Single series (Bwma) |
|
||||
| **Output range** | Tracks input |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- BWMA is a Finite Impulse Response (FIR) filter that applies a Bessel-derived window function to weight price data.
|
||||
- Parameterized by `period`, `order` (default 0).
|
||||
- Output range: Tracks input.
|
||||
- Requires `period` bars of warmup before first valid output (IsHot = true).
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
> "The Bessel function appears in problems involving cylindrical symmetry—heat flow in pipes, vibration of drumheads, and apparently, the smoothing of financial time series. Mathematics doesn't care about your asset class."
|
||||
|
||||
BWMA is a Finite Impulse Response (FIR) filter that applies a Bessel-derived window function to weight price data. The weighting follows a parabolic (or higher-order polynomial) profile that emphasizes the center of the lookback window while smoothly tapering to zero at the edges. Unlike rectangular (SMA) or exponential (EMA) weighting, BWMA provides a mathematically smooth transition that reduces spectral leakage and Gibbs phenomenon artifacts.
|
||||
@@ -344,4 +361,4 @@ else
|
||||
|
||||
* [ALMA](../alma/Alma.md) - Gaussian window with adjustable offset
|
||||
* [WMA](../wma/Wma.md) - Linear weighting (triangular window)
|
||||
* [SINEMA](../sinema/Sinema.md) - Sine-weighted moving average
|
||||
* [SINEMA](../sinema/Sinema.md) - Sine-weighted moving average
|
||||
|
||||
Reference in New Issue
Block a user