mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 04:28:04 +00:00
Merge branch 'dev'
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
| **PineScript** | [zscore.pine](zscore.pine) |
|
||||
|
||||
- The Z-Score measures how many population standard deviations a value lies from the rolling mean over a lookback window.
|
||||
- Parameterized by `period` (default 14).
|
||||
- Output range: Unbounded.
|
||||
- Requires `period` bars of warmup before first valid output (IsHot = true).
|
||||
- **Similar:** [Normalize](../../numerics/normalize/Normalize.md), [StdDev](../stddev/StdDev.md) | **Trading note:** Z-score; number of standard deviations from mean. ±2σ indicates unusual move. Mean-reversion signal.
|
||||
- Validated against manual computation, PineScript parity, and statistical invariants.
|
||||
|
||||
## Introduction
|
||||
@@ -141,4 +139,4 @@ Z-scores are invariant under positive linear transformations. This property make
|
||||
|
||||
- Pearson, K. (1894). "Contributions to the Mathematical Theory of Evolution." *Philosophical Transactions of the Royal Society.*
|
||||
- TradingView PineScript Reference: [ta.zscore](https://www.tradingview.com/pine-script-reference/v6/)
|
||||
- Bollinger, J. (2001). *Bollinger on Bollinger Bands.* McGraw-Hill. (Z-score normalization of Bollinger %B)
|
||||
- Bollinger, J. (2001). *Bollinger on Bollinger Bands.* McGraw-Hill. (Z-score normalization of Bollinger %B)
|
||||
Reference in New Issue
Block a user