Skip to content

TYPPRICE

Summary

Typical Price: the average of the high, low, and close of each bar. A single representative price per period.

Formula

out[i] = (High[i] + Low[i] + Close[i]) / 3

Inputs

  • inPriceHLC — high, low, close of each bar

Outputs

  • outReal — typical price per bar

Implementation

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

Native File
C ta_TYPPRICE.c
Rust typprice.rs
Java Core.java

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

Aliases

Typical Price

See Also

MEDPRICE · WCLPRICE · AVGPRICE