Skip to content

ATR Overview

The Average True Range (ATR) measures market volatility by calculating the smoothed average of “true range” — the greatest of: current high-low, |high-previous close|, or |low-previous close|. ATR doesn’t indicate direction, only how much price is moving.

ATR is essential for position sizing, stop-loss placement, and volatility-based filtering. High ATR means wide price swings (use wider stops), low ATR means tight ranges (potential breakout setup or tighter stops).


  1. Calculate True Range: max(High-Low, |High-PrevClose|, |Low-PrevClose|) — accounts for gaps
  2. Apply RMA Smoothing: Smooth the true range values over n periods
  3. Normalize (%): ATR is expressed as a percentage of price for cross-asset comparison
  4. Interpret: Higher ATR = more volatility, Lower ATR = less volatility

Key Characteristics:

  • Volatility Only = Measures magnitude of price movement, never direction
  • Gap-Aware = True Range accounts for overnight gaps that High-Low range misses
  • Percentage-Based = Normalized for comparison across different-priced assets
  • Dynamic Stops = ATR-based stops adapt to current market volatility

ATR Behavior:

  • ATR rises during volatile periods (large price swings)
  • ATR falls during calm periods (tight ranges)
  • ATR spikes at the start of major moves
  • Low ATR often precedes breakouts (volatility compression)
  • ATR doesn’t indicate direction — only magnitude

These are the signal names you select when configuring ATR in the algorithm builder or via the MCP agent:

SignalTriggers WhenTypical Use
atr_above_thresholdATR value rises above thresholdVolatility expanding — wider stops, breakout potential
atr_below_thresholdATR value falls below thresholdVolatility contracting — tighter stops, squeeze potential
atr_above_signalLineATR crosses above its signal lineVolatility increasing
atr_below_signalLineATR crosses below its signal lineVolatility decreasing

Display: Separate pane

Category: Volatility

Threshold range: 0 – 100 (percentage-based)


What Average True Range Does Well:

  • Best Volatility Measure: ATR is the standard for measuring market volatility
  • Gap-Aware: True Range captures overnight and weekend gaps
  • Dynamic Position Sizing: ATR-based sizing adapts to current volatility
  • Universal Application: Works on all assets and timeframes