Indicators

atr

The Average True Range (ATR) is a volatility indicator that measures market volatility by decomposing the entire range of an asset price for a period. Higher ATR values indicate higher volatility, while lower values indicate lower volatility.

atr (tick)

The Average True Range (ATR) is a volatility indicator that measures market volatility by decomposing the entire range of an asset price for a period. Higher ATR values indicate higher volatility, while lower values indicate lower volatility.

Input parameters

PropTypeDefaultDescription
minutes*number60The lookback period in minutes

SQL example

TICK atr WITH minutes=60 > 2.5 THEN order SET size=100, price=51.00, transmit=true

On this page