# Average daily range

`adr`

The average high to low range of recent trading days.

## Inputs

| Name | Type | Default | Range |
| --- | --- | --- | --- |
| days | int | 14 | 1 to 500 |
| day_boundary | text | 17:00 America/New_York |  |

## Outputs

| Name | Kind |
| --- | --- |
| adr | value |

Warm-up: 0 bars (0 at the defaults).

Repaints: No.

## Formula

A trading day starts at the day boundary in its own time zone

range of a day = its highest high - its lowest low

ADR = the average range of the last days finished days; the first day in the data is not counted because the data may start inside it
