ATR Calculator

Average True Range

Wilder's ATR — measures market volatility using True Range over N periods

ATR(14)

273.27

points

ATR %

1.10%

of spot price

True Range

260.00

last candle

Volatility

Moderate

ATR/Close = 1.10%

Step 1 — True Range (TR)Foundation

True Range is the greatest of three values, capturing gaps between sessions:

TR₁ = H − L

Current candle range

TR₂ = |H − C₍ₙ₋₁₎|

Gap-up scenario

TR₃ = |L − C₍ₙ₋₁₎|

Gap-down scenario

TR = max(TR₁, TR₂, TR₃) = max(H−L, |H−C₍ₙ₋₁₎|, |L−C₍ₙ₋₁₎|)

Step 2 — Initial ATR (Simple Average)Seed Value

The first ATR value is a simple arithmetic mean of the first N True Ranges:

ATR₍ₙ₎ = (TR₁ + TR₂ + ... + TRₙ) / N
ATR(14) = Σ TR[1..14] / 14
Step 3 — Wilder's Smoothing (Subsequent ATR)Key Formula

All subsequent ATR values use Wilder's exponential smoothing — giving more weight to recent volatility:

ATR₍ₜ₎ = [ATR₍ₜ₋₁₎ × (N−1) + TR₍ₜ₎] / N

ATR₍ₜ₎

Current ATR value

ATR₍ₜ₋₁₎

Previous ATR value

TR₍ₜ₎

Current True Range

Wilder's smoothing is equivalent to an EMA with α = 1/N. For ATR(14), the smoothing factor is 1/14 ≈ 0.0714. This means recent True Ranges have higher influence on the ATR value.

Step 4 — ATR % (Normalized)Comparison
ATR% = (ATR / Close) × 100

Normalizes ATR across different price levels — useful for comparing volatility across instruments

True Range for Each Candle

#HighLowClosePrev CloseH−L|H−PC||L−PC|TR
1249802472024847260.00260.00
224900246102472024847290.0053.00237.00290.00
324760244802468024720280.0040.00240.00280.00
424820245502479024680270.00140.00130.00270.00
524950247002491024790250.00160.0090.00250.00
625080248202498024910260.00170.0090.00260.00
725120248602505024980260.00140.00120.00260.00
825200249402510025050260.00150.00110.00260.00
925180248802496025100300.0080.00220.00300.00
1025050247502482024960300.0090.00210.00300.00
1124900246202475024820280.0080.00200.00280.00
1224820245402470024750280.0070.00210.00280.00
1324780245002466024700280.0080.00200.00280.00
1424850245802481024660270.00190.0080.00270.00
1524920246602488024810260.00110.00150.00260.00

* Bold values indicate the maximum (True Range). Row 1 uses H−L only (no previous close).

Initial ATR(14) — Simple Average of first 14 TRs

= (260.00 + 290.00 + 280.00 + 270.00 + 250.00 + 260.00 + 260.00 + 260.00 + 300.00 + 300.00 + 280.00 + 280.00 + 280.00 + 270.00)
= 3840.00 / 14
ATR(14) seed = 274.29

Wilder Smoothing — Last 3 Updates

ATR[13] = (ATR[12] × 13 + TR[13]) / 14
= (0.00 × 13 + 280.00) / 14
= (0.00 + 280.00) / 14
= 0.00
ATR[14] = (ATR[13] × 13 + TR[14]) / 14
= (0.00 × 13 + 270.00) / 14
= (0.00 + 270.00) / 14
= 274.29
ATR[15] = (ATR[14] × 13 + TR[15]) / 14
= (274.29 × 13 + 260.00) / 14
= (3565.71 + 260.00) / 14
= 273.27

Final ATR(14) Result

ATR(14)

273.27

ATR %

1.10%

Support Zone

24606.73

Resistance Zone

25153.27

Trading Applications

Stop-Loss Placement

SL = Entry − (ATR × multiplier)

Common: 1.5× ATR for swing, 2× ATR for positional

Target Setting

Target = Entry + (ATR × 2)

Risk:Reward of 1:2 using ATR-based stops

Position Sizing

Qty = Risk Amount / (ATR × multiplier)

Normalize risk across instruments

Breakout Filter

Valid breakout if move > ATR

Filters noise from genuine breakouts

ATR Across Timeframes

TimeframeATR(7)ATR(14)ATR(21)ATR%VolatilitySL (1.5×)Target (2×)
5 Min21.8921.860.000.09%Low24847.2124923.72
15 Min41.0540.990.000.16%Low24818.5224961.98
1 Hour95.7895.640.000.38%Low24736.5425071.29
4 Hour177.88177.620.000.71%Moderate24613.5725235.24
Daily273.66273.270.001.10%Moderate24470.1025426.53
Weekly1231.451229.690.004.94%High23035.4627339.39