Bollinger Bands Pct (BBANDSPCT)
StratCraft indicator page for BBANDSPCT percentage positioning.
Route: /indicators/bbandspct/
What It Does
BBANDSPCT measures where price sits within the Bollinger Band structure. It is useful for relative band position and breakout context.
Formula
BBANDSPCT expresses the position of price relative to the lower, middle, and upper band range.
Parameters
period- default20devfactor- default2movav- defaultMovingAverageSimple
C++23 API
#include <nonabt/indicators/bbandspct.hpp>
auto bbpct = std::make_unique<nonabt::BBANDSPCT>(data().close(), 20, 2, "MovingAverageSimple");
Common Usage
- Use it to measure how stretched price is inside the band.
- Combine with breakout or fade logic.
- Useful for mean-reversion timing.
Practical Pattern
Readings near the upper end of the range can indicate extension, while readings near the lower end can indicate compression or oversold conditions.
