TrueRange

forge.taclassSince Forge API 1
Signaturepython
forge.ta.TrueRange(**inputs: Any) -> None

The largest of the bar's range and its gaps from the previous close.

Parameters

NameType
**inputsAny

Indicator: True range

TR[i] = max(high[i], close[i-1]) - min(low[i], close[i-1])

No value on the first bar, which has no previous close.