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
+8 -8
View File
@@ -137,18 +137,18 @@ $$
### Operation Count (Streaming Mode)
AFIRMA chains AR model estimation with IIR/FIR filtering — O(p) per bar where p = AR order.
Windowed FIR convolution — O(P) per bar where P = period (window length).
| Operation | Count | Cost (cycles) | Subtotal |
| :--- | :---: | :---: | :---: |
| AR coefficient estimation (p terms) | p | 4 cy | ~4p cy |
| FIR forward pass (p multiplies) | p | 1 cy | ~p cy |
| IIR feedback pass (p multiplies) | p | 1 cy | ~p cy |
| Output computation via FMA | 1 | 1 cy | ~1 cy |
| NaN guard + state update | 1 | 2 cy | ~2 cy |
| **Total (p=8)** | **O(p)** | — | **~49 cy** |
| RingBuffer write | 1 | ~2 cy | ~2 cy |
| FIR convolution (P FMA ops) | P | ~1 cy | ~P cy |
| Weight normalization | 1 | ~1 cy | ~1 cy |
| LS regression (if enabled) | n | ~2 cy | ~2n cy |
| NaN guard + state update | 1 | ~2 cy | ~2 cy |
| **Total (P=20)** | **O(P)** | — | **~25 cy** |
O(p) per bar where p = AR order. AR coefficient estimation dominates; FMA-fused filter passes are cheap. Streaming mode maintains p state variables.
O(P) per bar where P = window length. FMA-fused dot product dominates; LS regression adds O(n) where n = min(⌊(P1)/2⌋, 50).
| Metric | Value | Notes |
| :--- | :---: | :--- |