mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 13:58:04 +00:00
v0.8.6: update indicator docs, ndepend tooling, ALMA refactor, gitignore cleanup
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
| **PineScript** | [atr.pine](atr.pine) |
|
||||
|
||||
- The Average True Range measures market "heat" with complete disregard for direction.
|
||||
- Parameterized by `period`.
|
||||
- Output range: $\geq 0$.
|
||||
- Requires `rma.WarmupPeriod` bars of warmup before first valid output (IsHot = true).
|
||||
- **Similar:** [NATR](../natr/natr.md), [TR](../tr/tr.md) | **Complementary:** SuperTrend, Keltner Channel | **Trading note:** Wilder's ATR; most popular volatility measure. 14-period standard.
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
The Average True Range measures market "heat" with complete disregard for direction. It ignores whether the market is screaming upward or crashing downward. ATR cares only about magnitude. When ATR is high, expect wide swings. When ATR is low, expect narrow consolidation. Most traders mistakenly use ATR to find entries. Its true power lies in exits and position sizing. ATR answers the critical question: "How far can this asset move against me in a single day?"
|
||||
@@ -219,4 +217,4 @@ var atr14 = new Atr(source, 14);
|
||||
|
||||
- Wilder, J. W. (1978). *New Concepts in Technical Trading Systems*. Trend Research. Chapter: Average True Range.
|
||||
- Kaufman, P. (2013). *Trading Systems and Methods*. Wiley. (ATR-based position sizing)
|
||||
- Kase, C. (1996). "Trading with the True Range." *Technical Analysis of Stocks & Commodities*. (TR variations)
|
||||
- Kase, C. (1996). "Trading with the True Range." *Technical Analysis of Stocks & Commodities*. (TR variations)
|
||||
Reference in New Issue
Block a user