> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/function/technical-analysis/average-true-range.md).

# Average True Range

<mark style="color:red;">`atr(`</mark>[<mark style="color:blue;">`candles`</mark>](/function/functions/candles.md)<mark style="color:red;">`: List[[`</mark>[<mark style="color:blue;">`Candle`</mark>](/function/structures.md#candle)<mark style="color:red;">`]], period: int = 14) -> List[Decimal]`</mark>

## Average True Range (ATR)
