Skip to content

WCLPRICE

Summary

Weighted Close Price: a per-bar price average giving the close double weight relative to high and low.

Formula

\(\text{WCLPRICE} = \dfrac{\text{High} + \text{Low} + 2\cdot\text{Close}}{4}\)

Inputs

  • inPriceHLC — High, low, and close price series

Outputs

  • outReal — Weighted close price per bar

Implementation

TA-Lib Definition: wclprice.c · wclprice.yaml

Native File
C ta_WCLPRICE.c
Rust wclprice.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

Weighted Close Price, Weighted Close

See Also

TYPPRICE · MEDPRICE · AVGPRICE