The typical price: (high + low + close) / 3.
hlc3 is a series float that gives the close the same weight as the high and the low. It is the usual input for the commodity channel index and for VWAP-style averages.
Type
series float
Remarks
- hlc3 equals two thirds of hl2 plus one third of the close, so it sits above hl2 on bars that close above their midpoint and below it otherwise.
Example
//@version=6
indicator("hlc3 average", overlay = true)
plot(ta.sma(hlc3, 20), "SMA of hlc3", color.teal, 2)
plot(hlc3, "hlc3", color.new(color.gray, 50))See also
Runs on Sidechair