INDICATORS · ATR

ATR in Crypto: Why the Value Changes Before Candle Close

Average True Range smooths each bar's true range. The live bar's true range only grows during the bar, so ATR can only drift upward intrabar from that term.

Short answer

True range = max(high − low, |high − prior close|, |low − prior close|), and ATR is Wilder's moving average of it (weight 1/N). The live bar's high and low can only expand, so its true range is non-decreasing through the bar and the live ATR can only rise from that component. Stops or sizes calculated from live ATR mid-bar will be smaller than those calculated at the close on a volatile bar. Size and place stops from closed-bar ATR.

Which part of ATR uses the live bar

ComponentUses current bar?Effect intrabar
Live high/lowYesOnly expand
True rangeYesNon-decreasing intrabar
ATR (1/N weight)YesDrifts up

Worked: ATR(14) = $600; the live bar's range grows from $300 to $1,300. ATR moves from ≈ $579 to ≈ $650 (600 + (TR − 600)/14).

See ATR in Crypto on live data in the free ChartsPod terminal.

Open the ChartsPod terminal

How much it moves inside one bar

ATR during one bar (illustrative)ATR during one bar (illustrative): OPEN: TR $300: ATR ≈ 579; MID: TR $900: ≈ 621; LATE: TR $1,300: ≈ 650; CLOSE: ATR ≈ 650.OPENTR $300: ATR ≈ 579MIDTR $900: ≈ 621LATETR $1,300: ≈ 650CLOSEATR ≈ 650
Only ATR's closing value is kept in history. Original ChartsPod editorial graphic.
Illustrative intrabar range of ATR vs its closed valueIllustrative intrabar range of ATR vs its closed value: Live ATR at open ($) 579 ; Live ATR at close ($) 650 .ILLUSTRATIVE INTRABAR RANGE OF ATR VS ITS CLOSED VALUELive ATR at open ($)579Live ATR at close ($)650
How far ATR travels inside a bar versus between bars. Original ChartsPod editorial graphic.

Rules

ATR signal hygieneATR signal hygiene: Signals on closed bars; Bar-close alerts; Backtest uses the same rule; Live value labelled provisional; Settings identical across chart and alerts.ATR SIGNAL HYGIENESignals on closed barsBar-close alertsBacktest uses the same ruleLive value labelled provisionalSettings identical across chart and alerts
Closed values are what history shows. Original ChartsPod editorial graphic.

ATR-based sizing is covered in ATR-Based Position Sizing: A Worked Crypto Example With Fees Included.

Test ATR in Crypto on a perpetual chart; no account is needed to chart.

Launch ChartsPod

Questions readers ask

Why does ATR rise during a bar?

The live bar's true range can only grow.

Should I size from live ATR?

Use closed-bar ATR.

What smoothing does ATR use?

Wilder's (1/N).

Sources and methodology

Indicator formulas are standard definitions; live-versus-closed behaviour follows TradingView's repainting documentation. Values in examples are illustrative.

  1. TradingView Pine Script: Repainting — live vs historical calculation.
  2. ChartsPod indicator reference — indicator calculations.

This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.

CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.