Weighted Close Price (WCLPRICE)
Summary
Weighted Close Price: a per-bar price average giving the close double weight relative to high and low.
Formula
Inputs
inHigh— High price of each barinLow— Low price of each barinClose— Close price of each bar
Outputs
outReal— Weighted close price per bar
Properties
Numerical Stability: Start-Independent
| ✅ Overlap Input i |
| ☐ Independent Y-Axis |
| ☐ Candlestick |
| ☐ Can Output NaN or ±Inf |
| ☐ Identity at Period 1 |
Implementation
TA-Lib Definition: wclprice.c · wclprice.yaml
| Native | File |
|---|---|
| C | ta_WCLPRICE.c |
| Rust | wclprice.rs |
| Java | Core_WCLPRICE.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Weighted Close Price, Weighted Close