BOP
Summary
Balance Of Power compares where the close sits relative to the open, normalized by the bar's high-low range. A per-bar oscillator with no smoothing. Positive: close above open (buyers dominated); negative: sellers dominated.
Formula
BOP = (Close - Open) / (High - Low)
Inputs
inPriceOHLC— OHLC price bars (open, high, low, close)
Outputs
outReal— Balance of Power value per bar
Implementation
TA-Lib Definition: bop.c · bop.yaml
| Native | File |
|---|---|
| C | ta_BOP.c |
| Rust | bop.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Balance Of Power, Balance of Power