doc headers

This commit is contained in:
Miha Kralj
2026-02-27 07:48:12 -08:00
parent 8a1ba95173
commit 4ab3a7fb53
389 changed files with 6682 additions and 468 deletions
+18 -1
View File
@@ -1,5 +1,22 @@
# NATR: Normalized Average True Range
| Property | Value |
| ---------------- | -------------------------------- |
| **Category** | Volatility |
| **Inputs** | OHLCV bar (TBar) |
| **Parameters** | `period` (default 14) |
| **Outputs** | Single series (Natr) |
| **Output range** | $\geq 0$ |
| **Warmup** | 1 bar |
### TL;DR
- NATR normalizes the Average True Range (ATR) as a percentage of the closing price.
- Parameterized by `period` (default 14).
- Output range: $\geq 0$.
- Requires 1 bar of warmup before first valid output (IsHot = true).
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
> "The same volatility reads different on different price scales. NATR speaks the universal language of percentages."
NATR normalizes the Average True Range (ATR) as a percentage of the closing price. This is mathematically identical to ATRP (Average True Range Percent)—both compute `(ATR / Close) × 100`. The difference is purely nomenclature: NATR is the term used in TA-Lib and many charting platforms.
@@ -194,4 +211,4 @@ Ensures equal percentage risk per position regardless of asset price.
- Wilder, J.W. (1978). *New Concepts in Technical Trading Systems*. Trend Research.
- TA-Lib documentation: NATR function specification
- TradingView PineScript: `ta.natr()` implementation
- TradingView PineScript: `ta.natr()` implementation