Average True Range (ATR)
ATR measures market volatility by decomposing the entire range of an asset price for that period.
Registration Name: "ATR"
Parameters:
period
(required): Lookback period for the EMA of true range values
Returns: The exponential moving average of the true range values
registerIndicator("ATR", "BUILTIN", {
period: 14
}, "ATR_14"); // Custom ID for this instance