tr
forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.tr(high: ArrayLike,low: ArrayLike,close: ArrayLike) -> np.ndarrayTrue range: the bar's range widened to take in the gap from the previous close.
Parameters
| Name | Type |
|---|---|
| high | ArrayLike |
| low | ArrayLike |
| close | ArrayLike |
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.