Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Average True Range

atr() calculates the Average True Range from candles to measure volatility over a set period.

Learn how to use the Average True Range indicator in Origami Tech to measure price volatility and improve stop-loss and risk management.

atr(candles: List[[Candle]], period: int = 14) -> List[Decimal]

Average True Range (ATR)