mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-19 02:58:05 +00:00
Merge branch 'dev'
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
| **PineScript** | [squeeze.pine](squeeze.pine) |
|
||||
|
||||
- Squeeze Momentum combines Bollinger Band and Keltner Channel width analysis to detect low-volatility compression ("squeeze") states, while simultan...
|
||||
- Parameterized by `period` (default 20), `bbmult` (default 2.0), `kcmult` (default 1.5).
|
||||
- Output range: Varies (see docs).
|
||||
- Requires `period` bars of warmup before first valid output (IsHot = true).
|
||||
- **Similar:** [TTM_Squeeze](../../dynamics/ttm_squeeze/TtmSqueeze.md), [BBB](../bbb/Bbb.md) | **Complementary:** Momentum histogram | **Trading note:** Squeeze indicator; detects low-volatility compression. Bollinger inside Keltner = squeeze on.
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
Squeeze Momentum combines Bollinger Band and Keltner Channel width analysis to detect low-volatility compression ("squeeze") states, while simultaneously measuring directional momentum via linear regression of a detrended price series. The dual output consists of a momentum histogram and a binary squeeze state indicator. When Bollinger Bands contract inside the Keltner Channel, the market is in a squeeze (coiling volatility); when the squeeze releases, the momentum histogram direction signals the likely breakout direction. The implementation combines five distinct computational stages, each using O(1) streaming techniques.
|
||||
@@ -119,4 +117,4 @@ Mixed: the two IIR passes are sequential; everything else is vectorizable.
|
||||
|
||||
- Carter, J. (2005). *Mastering the Trade*. McGraw-Hill, Chapter 11
|
||||
- Bollinger, J. (2001). *Bollinger on Bollinger Bands*. McGraw-Hill
|
||||
- PineScript reference: [`squeeze.pine`](squeeze.pine)
|
||||
- PineScript reference: [`squeeze.pine`](squeeze.pine)
|
||||
Reference in New Issue
Block a user