ATR Instruction

Short Name: ATR

Definition: Average True Range, a measure of volatility

Usage: ATR(period)

  • Compute the ATR (Average True Range)
  • Returns an array of values

  • Period is usually 20
  • return a mobile simple moving average of the true range defined as the greatest of the differences between today's high and low, today high versus yesterday close and today's low versus yesterday close.

  • atr(20)