feat(dynamics): add PTA - Ehlers Precision Trend Analysis

TASC Sep 2024. Dual 2-pole Butterworth highpass bandpass for
near-zero-lag trend extraction. HP(long) - HP(short) preserves
cycles between shortPeriod and longPeriod.

- Core: Pta.cs with O(1) streaming, Span batch, state rollback
- Quantower: PtaIndicator adapter with LineSeries + SetValue
- Tests: 31 lib + 11 Quantower (all passing)
- Pine: pta.pine PineScript v6 reference
- Docs: Pta.md canonical template v3
- Python: Exports.Generated.cs + _bridge.py + dynamics.py
- Indexes: _sidebar.md, lib/_index.md, dynamics/_index.md,
  docs/indicators.md, docs/pinescript.md
This commit is contained in:
Miha Kralj
2026-03-17 17:25:17 -07:00
parent 84d12e5706
commit aec3a64e4e
14 changed files with 1023 additions and 1 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ Dynamics indicators measure trend strength, speed, and direction. Unlike momentu
| [MINUS_DM](minusdm/MinusDm.md) | Minus Directional Movement | Wilder-smoothed downward directional movement. Price units. |
| [PFE](pfe/Pfe.md) | Polarized Fractal Efficiency | Trend efficiency: straight-line / total path distance. |
| [PLUS_DI](plusdi/PlusDi.md) | Plus Directional Indicator | Upward directional movement as % of true range. 0-100. |
| [PLUS_DM](plusdm/PlusDm.md) | Plus Directional Movement | Wilder-smoothed upward directional movement. Price units. |
| [PLUS_DM](plusdm/PlusDm.md) | Plus Directional Movement | Wilder-smoothed upward directional movement. Price units. |
| [PTA](pta/Pta.md) | Ehlers Precision Trend Analysis | Dual highpass bandpass. Zero-centered near-zero-lag trend. |
| [QSTICK](qstick/Qstick.md) | Qstick | MA of (Close - Open). Positive = buying pressure. |
| [RAVI](ravi/Ravi.md) | Chande Range Action Verification Index | \|SMA(short) SMA(long)\| / SMA(long) × 100. |
| [SUPER](super/Super.md) | SuperTrend | ATR-based trailing stop. Flips on breakout. Color-coded direction. |