Add Price Volume Trend (PVT) Indicator and Tests

- Implemented the PvtIndicator class for calculating Price Volume Trend in Quantower.
- Created unit tests for the Pvt class to validate calculations and state management.
- Added validation tests to ensure consistency with OoplesFinance's implementation.
- Developed a comprehensive documentation (Pvt.md) explaining the PVT concept, calculations, and usage.
- Included methods for batch calculations and streaming updates for PVT.
This commit is contained in:
Miha Kralj
2026-01-28 17:54:43 -08:00
parent dc1902f4d5
commit 76d2b50cbb
39 changed files with 8633 additions and 14 deletions
+6 -6
View File
@@ -196,23 +196,23 @@ No external reference exists. Implementation verified through unit tests, edge c
| **Normalized Average True Range** | Natr | ✔️ | ✔️ | - | - |
| **Normalized Shannon Entropy** | Entropy | - | - | - | - |
| **Notch Filter** | [Notch](../lib/filters/notch/Notch.md) | - | - | - | - |
| **On Balance Volume** | Obv | ✔️ | ✔️ | ✔️ | ❔ |
| **On Balance Volume** | [Obv](../lib/volume/obv/Obv.md) | [⚠️](../lib/volume/obv/Obv.md#validation) | ✔️ | ✔️ | [⚠️](../lib/volume/obv/Obv.md#validation) |
| **Parabolic SAR** | Psar | ✔️ | ✔️ | ✔️ | ❔ |
| **Parkinson Volatility** | Pv | - | - | - | - |
| **Pascal Weighted Moving Average** | [Pwma](../lib/trends/pwma/pwma.md) | - | - | - | - |
| **Percentage Change** | [Change](../lib/numerics/change/Change.md) | ✔️ | - | - | - |
| **Percentage Price Oscillator** | Ppo | ✔️ | ✔️ | - | ❔ |
| **Percentage Volume Oscillator** | Pvo | - | - | ✔️ | ❔ |
| **Percentage Volume Oscillator** | [Pvo](../lib/volume/pvo/Pvo.md) | - | - | ✔️ | ❔ |
| **Percentile** | Percentile | - | - | - | - |
| **Pivot Points** | Pivot | - | - | ✔️ | ❔ |
| **Positive Volume Index** | Pvi | - | ✔️ | - | |
| **Positive Volume Index** | [Pvi](../lib/volume/pvi/Pvi.md) | - | ✔️ | - | - |
| **Pretty Good Oscillator** | Pgo | - | - | - | ❔ |
| **Price Channel** | [Pchannel](../lib/channels/pchannel/pchannel.md) | - | - | - | ✔️ |
| **Price Momentum Oscillator** | Pmo | - | - | ✔️ | ❔ |
| **Price Relative Strength** | Prs | - | - | ✔️ | - |
| **Price Volume Divergence** | Pvd | - | - | - | - |
| **Price Volume Rank** | Pvr | - | - | - | |
| **Price Volume Trend** | Pvt | - | - | - | |
| **Price Volume Divergence** | [Pvd](../lib/volume/pvd/Pvd.md) | - | - | - | - |
| **Price Volume Rank** | [Pvr](../lib/volume/pvr/Pvr.md) | - | - | - | ✔️ |
| **Price Volume Trend** | [Pvt](../lib/volume/pvt/Pvt.md) | - | - | ✔️ | ✔️ |
| **Qstick Indicator** | Qstick | - | - | - | ❔ |
| **Quad Exponential MA** | [Qema](../lib/trends_IIR/qema/Qema.md) | - | - | - | - |
| **Quantile** | Quantile | - | - | - | - |