Price Transform

Average Deviation (Mean Absolute Deviation) (AVGDEV)

Average Deviation

Deep Dive

Everything You Need to Know

Under the Hood

How It Works

AVGDEV calculates the mean absolute deviation over a specified period (default 14), measuring the average distance of price from its mean without squaring deviations like variance does. Formula: sum(|price - mean|) / n. AVGDEV provides volatility measurement similar to standard deviation but using absolute values rather than squared values, making it less sensitive to extreme outliers. It's also known as Mean Absolute Deviation (MAD). AVGDEV gives volatility in price units, making it more intuitive than variance but less commonly used than standard deviation.

In Practice

How Traders Use It

Cryptocurrency traders use AVGDEV as an alternative volatility measure when they want outlier-resistant volatility quantification. Unlike standard deviation which heavily weights extreme moves due to squaring, AVGDEV treats all deviations linearly, providing more stable volatility readings in markets with occasional spikes. AVGDEV is useful for building custom volatility indicators, calculating position sizes, or creating adaptive indicators that respond to typical volatility rather than extreme events. It's particularly valuable in crypto markets prone to sudden spikes that distort squared-deviation measures. Used by quantitative traders preferring robust volatility statistics.

Highlights

AVGDEV at a Glance

Mean absolute deviation from average price
Formula: average of |price - mean|
Linear treatment of deviations (vs squared in STDDEV)
More resistant to outliers than standard deviation
Volatility in price units (intuitive scale)
Default 14-period calculation
Useful for robust volatility measurement
Alternative to STDDEV when outliers present
Popular in spike-prone crypto markets

Get Started

Automate AVGDEV with cryptorobot.ai

Build automated strategies using Average Deviation (Mean Absolute Deviation) and hundreds of other indicators. Connect to your favourite exchange and let the bot execute trades 24/7 — no code required.