v0.8.6: update indicator docs, ndepend tooling, ALMA refactor, gitignore cleanup

This commit is contained in:
Miha Kralj
2026-03-13 13:46:52 -07:00
parent e3e9555fc1
commit c75135ab14
402 changed files with 2222 additions and 1779 deletions
+2 -4
View File
@@ -13,9 +13,7 @@
| **PineScript** | [plusdm.pine](plusdm.pine) |
- Plus Directional Movement outputs the Wilder-smoothed upward directional movement in price units.
- Parameterized by `period` (default 14).
- Output range: ≥ 0 (price units, scales with instrument).
- Requires `period` bars of warmup before first valid output (IsHot = true).
- **Similar:** [MinusDm](../minusdm/MinusDm.md), [DX](../dx/Dx.md) | **Complementary:** ATR for normalization | **Trading note:** Plus Directional Movement; raw upward price expansion before smoothing.
- Validated against TA-Lib and Dx equivalence.
Plus Directional Movement (+DM) measures the magnitude of upward price movement, smoothed using Wilder's method. Unlike +DI which normalizes by true range to produce a percentage, +DM outputs raw smoothed values in price units. +DM captures when the current bar's high exceeds the previous bar's high by more than the previous bar's low exceeds the current bar's low. It is the raw building block of the Directional Movement System — the unnormalized signal before division by True Range converts it to +DI.
@@ -89,4 +87,4 @@ $$+DM_{\text{smooth}} = \text{RMA}(+DM, N), \quad \alpha = 1/N$$
## Resources
- Wilder, J.W. — *New Concepts in Technical Trading Systems* (Trend Research, 1978)
- PineScript reference: `plusdm.pine` in indicator directory
- PineScript reference: `plusdm.pine` in indicator directory