布林帶百分比 (BBANDSPCT)
用于 BBANDSPCT 百分比定位的 QuantNexus 指標頁面。
Route: `/quantnexus/indicators/bbandspct/`
功能介紹
BBANDSPCT 衡量價格在布林帶結構中的位置。它對於相對帶位置和突破背景非常有用。
公式
`BBANDSPCT` 表示價格相對於下軌、中軌和上軌範圍的位置。
參數
- `period` - 默認 `20`
- `devfactor` - 默認 `2`
- `movav` - 默認 `MovingAverageSimple`
C++23 API
```cpp #include <nonabt/indicators/bbandspct.hpp> auto bbpct = std::make_uniquenonabt::BBANDSPCT(data().close(), 20, 2, "MovingAverageSimple"); ```
常見用法
- 用它來衡量價格在布林帶內的拉伸程度。
- 結合突破或回補邏輯。
- 適用於均值回歸定時。
實戰模式
讀數接近範圍上端可能表示過度延伸,而讀數接近下端可能表示壓縮或超賣狀況。
