mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-26 06:18:05 +00:00
v0.8.6: update indicator docs, ndepend tooling, ALMA refactor, gitignore cleanup
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
| **PineScript** | [natr.pine](natr.pine) |
|
||||
|
||||
- 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).
|
||||
- **Similar:** [ATR](../atr/atr.md), [ATRN](../atrn/atrn.md) | **Complementary:** Cross-asset comparison | **Trading note:** Normalized ATR as percentage of close.
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
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.
|
||||
@@ -210,4 +208,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
|
||||
Reference in New Issue
Block a user