FTB-C000295 / Statistical method

Rolling Median Body Length

Rolling Median Body Length is the median of eligible real-body lengths in a declared trailing window.

Also known asmedian candle body

Definitions

In plain terms

It supplies a robust contextual body scale that is less affected by isolated extreme bodies than a mean.

Technical

The implementation freezes lookback, current-bar exclusion, minimum periods, even-count median convention, missing values, and ordering.

Scope

The median is a package choice, not the only valid candle baseline.

Formula

Median body = median(B_i over window W)
LaTeX: M_t=\operatorname{median}_{i\in W_t}(B_i)
SymbolMeaningUnit
B_ieligible real-body lengthprice
Wdeclared trailing windowbars

Output unit: price

Examples

  • A governed lesson uses Rolling Median Body Length only with declared inputs, timing, parameters, and edge-case behavior.

Common misconceptions

  • The median is a package choice, not the only valid candle baseline.

Concept relationships

Where this concept is used

Tutorials planned

These catalogued topics use this concept, but their complete build has not shipped yet.

  • D06-F01-A02 Important

Evidence and governance

  1. Measures of Location: Mean and Median NIST/SEMATECH · official standard

    Supports: preferred label, short definition, technical definition, formula

    Limits: The source does not prescribe a financial candle-classification window or threshold factor.

Reviewed by
fintech-builder-batch-006
Last reviewed
2026-07-27
Next review
2027-07-27
Record status
published
Written by

Fintech engineer building market-data and financial systems, and the author of every article, glossary record, and reference implementation on The Fintech Builder.