Price Transform

Average Price (OHLC Average) (AVGPRICE)

Average Price

Deep Dive

Everything You Need to Know

Under the Hood

How It Works

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

How Traders Use It

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.

Highlights

AVGPRICE at a Glance

Formula: (Open + High + Low + Close) / 4
Equal weight to all four OHLC components
Transforms bar into single representative price
No parameters - pure OHLC average
More comprehensive than close-only data
Useful as indicator input or MA source
Captures gap information via open price
Best for custom indicator development
Alternative to TYPPRICE, MEDPRICE, or WCLPRICE

Get Started

Automate AVGPRICE with cryptorobot.ai

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.