FTB-C000361 / Formula component

True Range

True Range is the maximum of current high-low range and the absolute gaps from current high and low to the previous close.

Also known asTR

Definitions

In plain terms

It captures both intrabar range and overnight or interbar gaps in one nonnegative measure.

Technical

The calculation requires consecutive finalized bars, aligned adjustment basis, previous close, missing-gap policy, and valid OHLC.

Scope

It is a one-bar range measure and is not Average True Range.

Formula

TR_t = max(H_t-L_t, abs(H_t-C_(t-1)), abs(L_t-C_(t-1)))
LaTeX: TR_t=\max(H_t-L_t,|H_t-C_{t-1}|,|L_t-C_{t-1}|)
SymbolMeaningUnit
H_tcurrent highprice
L_tcurrent lowprice
C_(t-1)previous closeprice

Output unit: price

Examples

  • A governed lesson calculates or identifies True Range only after its parameters, state, timing, and edge cases are declared.

Common misconceptions

  • It is a one-bar range measure and is not Average True Range.

Concept relationships

Where this concept is used

Tutorials planned

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

  • D07-F02-A04 Prerequisite
  • D07-F02-A08 Prerequisite
  • D07-F03-A06 Prerequisite
  • D07-F04-A01 Primary
  • D07-F04-A02 Prerequisite

Evidence and governance

  1. TA-Lib Directional Movement Index Implementation TA-Lib · first party technical publication

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

    Limits: Zero-denominator and compatibility behavior can differ from the Fintech Builder package and must be stated explicitly.

Reviewed by
fintech-builder-batch-007
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.