mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 13:08: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** | [mode.pine](mode.pine) |
|
||||
|
||||
- The **Mode** is a rolling statistical indicator that identifies the most frequently occurring value within a sliding window of recent observations.
|
||||
- Parameterized by `period`.
|
||||
- Output range: Varies (see docs).
|
||||
- Requires `period` bars of warmup before first valid output (IsHot = true).
|
||||
- **Similar:** [Median](../median/Median.md), [Percentile](../percentile/Percentile.md) | **Trading note:** Statistical mode; most frequent value in window. Identifies price levels with highest activity (value area).
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
## Introduction
|
||||
@@ -152,4 +150,4 @@ Verified against Wolfram Alpha for static datasets.
|
||||
## References
|
||||
|
||||
- PineScript reference: `mode.pine` (exact value comparison, map-based counting)
|
||||
- Wolfram MathWorld: [Statistical Mode](https://mathworld.wolfram.com/Mode.html)
|
||||
- Wolfram MathWorld: [Statistical Mode](https://mathworld.wolfram.com/Mode.html)
|
||||
Reference in New Issue
Block a user