fix(docs): correct .md documentation across errors, dynamics, filters, forecasts, momentum, numerics, oscillators, reversals, statistics, trends, volatility, volume

Deep review of all indicator categories verified .md headers against .cs WarmupPeriod, parameters, inputs, and outputs. Fixes include warmup corrections, parameter documentation, output type accuracy, and Pine Script alignment.
This commit is contained in:
Miha Kralj
2026-03-10 18:38:23 -07:00
parent 8906c62dcf
commit 35a6702b06
178 changed files with 2579 additions and 998 deletions
+2 -2
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period`, `delta` (default 1.345) |
| **Outputs** | Single series (Huber) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+3 -3
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (UNKNOWN) |
| **Outputs** | Single series (LogCosh) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+3 -3
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (MAAPE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Output range** | $[0, \pi/2]$ |
| **Warmup** | `period` bars |
### TL;DR
+2 -2
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (MAE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+2 -2
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (MAPD) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+2 -2
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (MAPE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+1 -1
View File
@@ -3,7 +3,7 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (Mase) |
| **Output range** | $\geq 0$ |
+1 -1
View File
@@ -3,7 +3,7 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (Mdae) |
| **Output range** | $\geq 0$ |
+1 -1
View File
@@ -3,7 +3,7 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (Mdape) |
| **Output range** | $\geq 0$ |
+3 -3
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (ME) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Output range** | Any (positive or negative) |
| **Warmup** | `period` bars |
### TL;DR
+3 -3
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (MPE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Output range** | Any (positive or negative) |
| **Warmup** | `period` bars |
### TL;DR
+2 -2
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (MRAE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+2 -2
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (MSE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+2 -2
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (MSLE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+4 -4
View File
@@ -3,18 +3,18 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual vs Predicted (dual input) |
| **Parameters** | `period`, `delta` (default 1.0) |
| **Outputs** | Single series (UNKNOWN) |
| **Outputs** | Single series (PseudoHuber) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
- Pseudo-Huber Loss (also called Charbonnier Loss) is a smooth approximation to the Huber loss function.
- Parameterized by `period`, `delta` (default 1.0).
- Output range: $\geq 0$.
- Requires 1 bar of warmup before first valid output (IsHot = true).
- Requires `period` bars of warmup before first valid output (IsHot = true).
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
> "All the robustness of Huber, none of the discontinuities."
+3 -3
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period`, `quantile` (default 0.5) |
| **Outputs** | Single series (Quantile) |
| **Outputs** | Single series (QuantileLoss) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+1 -1
View File
@@ -3,7 +3,7 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (Rae) |
| **Output range** | $\geq 0$ |
+2 -2
View File
@@ -3,11 +3,11 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual, Predicted (dual series) |
| **Parameters** | `period` |
| **Outputs** | Single series (RMSE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
+3 -3
View File
@@ -3,18 +3,18 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual vs Predicted (dual input) |
| **Parameters** | `period` |
| **Outputs** | Single series (RMSLE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
- Root Mean Squared Logarithmic Error is the square root of MSLE, providing an error metric in log-scale units.
- Parameterized by `period`.
- Output range: $\geq 0$.
- Requires 1 bar of warmup before first valid output (IsHot = true).
- Requires `period` bars of warmup before first valid output (IsHot = true).
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
> "RMSLE: because sometimes your errors need to be measured in decades, not dollars."
+1 -1
View File
@@ -3,7 +3,7 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual vs Predicted (dual input) |
| **Parameters** | `period` |
| **Outputs** | Single series (Rse) |
| **Output range** | $\geq 0$ |
+4 -4
View File
@@ -3,17 +3,17 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual vs Predicted (dual input) |
| **Parameters** | `period` |
| **Outputs** | Single series (R) |
| **Output range** | $\geq 0$ |
| **Outputs** | Single series (R²) |
| **Output range** | $(-\infty, 1]$ |
| **Warmup** | `period` bars |
### TL;DR
- The Coefficient of Determination (R²) measures the proportion of variance in the actual values that is predictable from the predicted values.
- Parameterized by `period`.
- Output range: $\geq 0$.
- Output range: $(-\infty, 1]$.
- Requires `period` bars of warmup before first valid output (IsHot = true).
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
+3 -3
View File
@@ -3,18 +3,18 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual vs Predicted (dual input) |
| **Parameters** | `period` |
| **Outputs** | Single series (SMAPE) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
- Symmetric Mean Absolute Percentage Error addresses a fundamental asymmetry in MAPE: the fact that over-predictions and under-predictions of the sam...
- Parameterized by `period`.
- Output range: $\geq 0$.
- Requires 1 bar of warmup before first valid output (IsHot = true).
- Requires `period` bars of warmup before first valid output (IsHot = true).
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
> "MAPE punishes based on who's right; SMAPE punishes based on how different they are."
+1 -1
View File
@@ -3,7 +3,7 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual vs Predicted (dual input) |
| **Parameters** | `period` |
| **Outputs** | Single series (TheilU) |
| **Output range** | $\geq 0$ |
+5 -5
View File
@@ -3,18 +3,18 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Parameters** | `period`, `c` (default DefaultC) |
| **Outputs** | Single series (UNKNOWN) |
| **Inputs** | Actual vs Predicted (dual input) |
| **Parameters** | `period`, `c` (default 4.685) |
| **Outputs** | Single series (TukeyBiweight) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
| **Warmup** | `period` bars |
### TL;DR
- Tukey's Biweight (also called Bisquare) is a redescending M-estimator that completely ignores errors beyond a threshold.
- Parameterized by `period`, `c` (default defaultc).
- Output range: $\geq 0$.
- Requires 1 bar of warmup before first valid output (IsHot = true).
- Requires `period` bars of warmup before first valid output (IsHot = true).
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
> "When outliers need to be silenced, not just quieted."
+1 -1
View File
@@ -3,7 +3,7 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual vs Predicted (dual input) |
| **Parameters** | `period` |
| **Outputs** | Single series (Wmape) |
| **Output range** | $\geq 0$ |
+1 -1
View File
@@ -3,7 +3,7 @@
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Error Metric |
| **Inputs** | Source (close) |
| **Inputs** | Actual vs Predicted (dual input) |
| **Parameters** | `period` |
| **Outputs** | Single series (Wrmse) |
| **Output range** | $\geq 0$ |