布林带百分比 (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"); ```
常见用法
- 用它来衡量价格在布林带内的拉伸程度。
- 结合突破或回补逻辑。
- 适用于均值回归定时。
实战模式
读数接近范围上端可能表示过度延伸,而读数接近下端可能表示压缩或超卖状况。
