mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-24 05:28:05 +00:00
Merge branch 'dev'
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
| **PineScript** | [mavp.pine](mavp.pine) |
|
||||
|
||||
- MAVP applies an EMA-style exponential smoothing where the period -- and therefore the smoothing constant alpha -- changes on every bar.
|
||||
- Parameterized by `minperiod` (default 2), `maxperiod` (default 30).
|
||||
- Output range: Tracks input.
|
||||
- Requires `maxPeriod` bars of warmup before first valid output (IsHot = true).
|
||||
- **Similar:** [KAMA](../kama/kama.md), [VIDYA](../vidya/vidya.md) | **Complementary:** Adaptive period selection | **Trading note:** MA with Variable Period; dynamically adjusts lookback period.
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
## Introduction
|
||||
@@ -170,4 +168,4 @@ TA-Lib's native `MAVP` function uses SMA by default (MAType=0), not EMA. Direct
|
||||
|
||||
- Kaufman, P. J. (2013). *Trading Systems and Methods*, 5th Ed. Wiley. Discusses adaptive moving averages.
|
||||
- TA-Lib documentation: [MAVP - Moving Average with Variable Period](https://ta-lib.org/function.html)
|
||||
- Ehlers, J. F. (2001). *Rocket Science for Traders*. Wiley. Adaptive smoothing with variable alpha.
|
||||
- Ehlers, J. F. (2001). *Rocket Science for Traders*. Wiley. Adaptive smoothing with variable alpha.
|
||||
Reference in New Issue
Block a user