← All indicator tools

Indicator Lab · MAD · Statistics

Mean Absolute Deviation

Averages absolute price distances from the arithmetic mean of the window.

BTCUSDC · 1h · latest 30 complete days · shared snapshot · no account required

MAD · StatisticsBTCUSDC · 1h · 30 days

How far do prices lie on average in absolute terms from their window mean?

Averages absolute price distances from the arithmetic mean of the window.

One dataset, the same parameters and the same candle for application and explanation.

BTCUSDC · confirmed hourly candles

Snapshot retrieved: 11 Oct 2026, 15:52 UTC · stored snapshot · background refresh scheduled · age when opened: 3,136.7 min

11 Sept 2026, 15:00 — 11 Oct 2026, 15:00 UTC · 720 evaluation candles · 3000 earlier candles for warm-up only. Your opened snapshot stays fixed. A visit can refresh a stale cache in the background for later visitors; fetching fresh is not a tick stream.

Parameters and precise application

Number of confirmed hourly candles. Warm-up history stays fixed; only this parameter changes.

Measurement and diagnosis · no trading direction

Inspect the actual value at each confirmed candle. This analysis produces no buy or sell orders.

Preparing the calculation module. The shared market snapshot is already available.

Calculation and interpretation of the same candle

The statistic is a historical dispersion measure in price units and responds differently to outliers than standard deviation.

mean(|C_window−mean(C_window)|)

Mean absolute deviation, not median absolute deviation.

MAD means mean absolute deviation here, not median absolute deviation; the value is not a forecast maximum move.

Checked sources and reproducibility

Data source, versions and hash
Market data source
https://data-api.binance.vision/api/v3/klines?symbol=BTCUSDC&interval=1h&startTime=1778338800000&endTime=1791730799999
Specification
indicator-library-1.0.0
Execution model
signal-simulation-1.0.0
Data hash
42ac75e03e017bcac023d319dabb0928e0562fda0e51f4bfa5549ac50e3e8be4
Disclosed candles including warm-up
3720

The sources support definitions and methodological limits. They do not establish profit for this specific BTCUSDC rule. This analysis is descriptive; parameter trials on the same history are not independent out-of-sample evidence. Parity with a deployed unCoded engine is not claimed.

    Mean Absolute Deviation · Interactive trading tool | unCoded