True Range (TR)
Measures the greatest of: current high minus current low, absolute value of current high minus previous close, or absolute value of current low minus previous close. Low values indicate a sideways trend with little volatility.
Live Demo
Pick a market regime to see how TR(1) reacts:
Usage
import {} from 'trading-signals';
// TR yields results once 1 input has been added
const = new ();