ta.tr

True range: max(high - low, |high - close[1]|, |low - close[1]|). On the first bar it is na, or high - low when handle_na is true. Also usable as the value ta.tr.

ta.tr(handle_na: bool = false) -> series float

Parameters

Example

ta.tr(true)