mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-17 10:08:05 +00:00
doc headers
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
# ATR: Average True Range
|
||||
|
||||
| Property | Value |
|
||||
| ---------------- | -------------------------------- |
|
||||
| **Category** | Volatility |
|
||||
| **Inputs** | OHLCV bar (TBar) |
|
||||
| **Parameters** | `period` |
|
||||
| **Outputs** | Single series (Atr) |
|
||||
| **Output range** | $\geq 0$ |
|
||||
| **Warmup** | `rma.WarmupPeriod` bars |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- 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).
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
> "Volatility is the price of admission. The question is whether the ride is worth it."
|
||||
|
||||
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?"
|
||||
@@ -276,4 +293,4 @@ private static TSeries CalculateTrueRange(TBarSeries source)
|
||||
|
||||
- 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