mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-16 01:28:05 +00:00
doc headers
This commit is contained in:
+18
-1
@@ -1,5 +1,22 @@
|
||||
# TR: True Range
|
||||
|
||||
| Property | Value |
|
||||
| ---------------- | -------------------------------- |
|
||||
| **Category** | Volatility |
|
||||
| **Inputs** | OHLCV bar (TBar) |
|
||||
| **Parameters** | None |
|
||||
| **Outputs** | Single series (TR) |
|
||||
| **Output range** | $\geq 0$ |
|
||||
| **Warmup** | `1` bars |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- True Range (TR) is a volatility measure that captures the maximum price movement for each bar, including any gap from the previous close.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
- Output range: $\geq 0$.
|
||||
- Requires `1` bars of warmup before first valid output (IsHot = true).
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
> "The true measure of volatility isn't just where price traveled within the bar, but whether it leaped from where it was."
|
||||
|
||||
True Range (TR) is a volatility measure that captures the maximum price movement for each bar, including any gap from the previous close. Developed by J. Welles Wilder Jr. in 1978, TR forms the foundation for Average True Range (ATR) and numerous other volatility-based indicators. Unlike simple High-Low range, TR accounts for overnight gaps and opening jumps, providing a complete picture of price movement.
|
||||
@@ -273,4 +290,4 @@ If gap contribution > 50% of TR: Significant gap move
|
||||
|
||||
- Wilder, J. W. (1978). *New Concepts in Technical Trading Systems*. Trend Research.
|
||||
- Kaufman, P. J. (2013). *Trading Systems and Methods* (5th ed.). Wiley.
|
||||
- Murphy, J. J. (1999). *Technical Analysis of the Financial Markets*. New York Institute of Finance.
|
||||
- Murphy, J. J. (1999). *Technical Analysis of the Financial Markets*. New York Institute of Finance.
|
||||
|
||||
Reference in New Issue
Block a user