Skip to content

MEDPRICE

Summary

Median Price: the midpoint of each bar's high and low. A price-transform overlay.

Formula

\(MEDPRICE_i = (High_i + Low_i) / 2\)

Inputs

  • inPriceHL — High and low price series

Outputs

  • outReal — Midpoint of each bar's high and low

Implementation

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

Native File
C ta_MEDPRICE.c
Rust medprice.rs
Java Core.java

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

Aliases

Median Price

See Also

MIDPRICE · AVGPRICE · TYPPRICE · WCLPRICE