tr

forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.tr(high: ArrayLike,low: ArrayLike,close: ArrayLike) -> np.ndarray

True range: the bar's range widened to take in the gap from the previous close.

Parameters

NameType
highArrayLike
lowArrayLike
closeArrayLike

Indicator: True range

The first bar has no previous close and no value. NaN on a bar where one of the values it reads is missing, and on the bar after a missing close.