How is the Average True Range calculated?

The ATR is calculated by finding the true range for each period, which is the greatest of the following:

- The current high minus the current low

- The absolute value of the current high minus the previous close

- The absolute value of the current low minus the previous close

The ATR then smoothes these true ranges over a specified period using a moving average.