Average Price
Under the Hood
AVGPRICE calculates the simple average of Open, High, Low, and Close for each bar: (O+H+L+C)/4. This transforms the four-value OHLC bar into a single representative price point that weights all four components equally. AVGPRICE provides a balanced reference price that considers the entire bar's range and both its opening and closing levels. It's less commonly used than TYPPRICE or MEDPRICE but offers complete OHLC representation. No parameters - simply averages the four canonical values.
In Practice
Cryptocurrency traders use AVGPRICE as source data for custom indicators or moving averages when they want equal weighting of all OHLC components. It provides a more comprehensive price reference than using close alone, incorporating open price which captures gap information. AVGPRICE is valuable as input to oscillators, moving averages, or volatility calculations when you want to consider the entire bar structure. Combined with standard indicators applied to AVGPRICE (e.g., EMA of AVGPRICE) creates smoothed representations of overall bar behavior. It's used by algorithm developers building custom indicators requiring balanced OHLC input.
Build automated strategies using Average Price (OHLC Average) and hundreds of other indicators. Connect to your favourite exchange and let the bot execute trades 24/7 — no code required.