How to Get ATR on Pi

Open charts and go to technical analysis and apply “True Range”

and Tradescript syntax for Average True Range ATR is TR()