mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 04:28:04 +00:00
doc headers
This commit is contained in:
@@ -1,8 +1,26 @@
|
||||
# ZLTEMA: Zero-Lag Triple Exponential Moving Average
|
||||
|
||||
| Property | Value |
|
||||
| ---------------- | -------------------------------- |
|
||||
| **Category** | Trend (IIR MA) |
|
||||
| **Inputs** | Source (close) |
|
||||
| **Parameters** | `period` |
|
||||
| **Outputs** | Single series (Zltema) |
|
||||
| **Output range** | Tracks input |
|
||||
| **Warmup** | `Math.Max(lag + 1, EstimateWarmupPeriod(beta))` bars |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- ZLTEMA takes a standard TEMA and feeds it a **zero-lag signal**: current price minus a lagged price.
|
||||
- Parameterized by `period`.
|
||||
- Output range: Tracks input.
|
||||
- Requires `Math.Max(lag + 1, EstimateWarmupPeriod(beta))` bars of warmup before first valid output (IsHot = true).
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
> "ZLTEMA combines the speed of zero-lag prediction with the smoothness of triple exponential averaging. You get the fastest response in the zero-lag family, with the best noise rejection from the TEMA cascade."
|
||||
|
||||
## TEMA with lag compensation via a zero-lag signal
|
||||
|
||||
> "ZLTEMA combines the speed of zero-lag prediction with the smoothness of triple exponential averaging. You get the fastest response in the zero-lag family, with the best noise rejection from the TEMA cascade."
|
||||
|
||||
ZLTEMA takes a standard TEMA and feeds it a **zero-lag signal**: current price minus a lagged price. This produces a smoother that responds faster than TEMA without going fully raw. The triple EMA cascade provides maximum noise rejection in the exponential family while the zero-lag preprocessing maintains responsiveness.
|
||||
|
||||
@@ -155,4 +173,4 @@ ZLTEMA is validated against a PineScript reference implementation.
|
||||
|
||||
6. **ZLDEMA vs ZLTEMA**
|
||||
|
||||
ZLTEMA adds a third EMA stage over ZLDEMA. This provides additional smoothing at the cost of more overshoot during reversals. Use ZLDEMA when overshoot is more concerning than noise; use ZLTEMA when maximum smoothness is required.
|
||||
ZLTEMA adds a third EMA stage over ZLDEMA. This provides additional smoothing at the cost of more overshoot during reversals. Use ZLDEMA when overshoot is more concerning than noise; use ZLTEMA when maximum smoothness is required.
|
||||
|
||||
Reference in New Issue
Block a user