Refactor documentation to remove "Zero-Allocation Design" sections across various trend indicators and implement a PowerShell script for automated cleanup

- Updated mathematical foundations and performance profiles where necessary to maintain clarity and coherence.
This commit is contained in:
Miha Kralj
2025-12-21 14:37:44 -08:00
parent 54c309e5cf
commit a7b7207801
65 changed files with 1766 additions and 482 deletions
-13
View File
@@ -44,19 +44,6 @@ Where $e_n$ is the output of the $n$-th EMA in the cascade.
Despite the complexity, T3 is O(1).
### Zero-Allocation Design
QuanTAlib implements T3 using a single `State` struct that holds the values of all 6 EMAs. This avoids creating 6 separate `Ema` objects and eliminates heap allocations.
| Metric | Score | Notes |
| :--- | :--- | :--- |
| **Throughput** | Moderate | 6 EMAs |
| **Complexity** | O(1) | Constant time update |
| **Accuracy** | 8/10 | Very smooth, organic curve |
| **Timeliness** | 7/10 | Lag depends heavily on 'v' factor |
| **Overshoot** | 6/10 | Can overshoot if v > 0.7 |
| **Smoothness** | 10/10 | One of the smoothest filters available |
## Validation
Validated against TA-Lib and Skender.Stock.Indicators.