Observed ATR Calculator
Calculate true range and a rolling simple-average ATR from high, low and close bars entered in oldest-to-newest order. The page reports the latest true range, ATR in entered price units and pips, and ATR as a percentage of the latest close without fetching candles or predicting direction.
Enter ordered price bars
Use one consistent symbol, timeframe and price basis for every row.
One row per line: optional label, high, low, close. Commas, semicolons or tabs are accepted.
Entered-sample ATR
Observed Range & Volatility 1.0.0.
| Label | True range | Rolling ATR |
|---|
How this ATR is calculated
ATR = Arithmetic mean of the latest N true ranges
MetaQuotes publishes this true-range expression and a rolling arithmetic-average implementation in its MT5 ATR source. The first entered row supplies only the previous close for the next row.
Rows are consumed in the order entered. Labels are descriptive and are not used to infer or validate market time.
Worked example from the audited fixture
How to interpret the result
The 2.5 result summarizes the latest three entered true ranges under this rolling simple-average convention. It does not estimate the next range, price direction or an appropriate stop. MetaTrader or another chart can differ when it uses Wilder smoothing, a different seed, different candles or another pip convention.
Assumptions and limits
- All bars must use one symbol, timeframe, broker feed and price basis.
- The calculator does not download, repair or sort candle history.
- Different ATR implementations can use different smoothing or seed conventions.
- An ATR value measures the entered sample and does not predict direction or future range.
- Pip size is user-entered because instrument conventions vary.
Frequently asked questions
- Enter ordered high, low and close bars from one consistent symbol, timeframe, broker feed and price basis.
- Each true range after the first compares the current high-low with the previous close, so a period-N ATR needs at least N plus one bars.
- It is the maximum of current high and previous close minus the minimum of current low and previous close.
- The page uses the rolling arithmetic mean implemented in MetaQuotes published MT5 ATR source.
- No. Different ATR implementations can use different smoothing and seed conventions; this page states its method explicitly.
- No. It uses only rows entered in the browser and does not connect to MT4, MT5 or a broker.
- No. Use the separate ATR Position Size Calculator after you have selected and verified an ATR observation.
- No. ATR is a range-based volatility measurement for the entered sample and contains no directional forecast.
Sources and methodology
- MetaQuotes Code Base — Average True Range — Official true-range description and published MT5 ATR source.
- MQL5 Reference — iATR — Official symbol, timeframe and averaging-period interface.
- MQL5 Reference — MqlRates — Official high, low and close fields for one price period.
Continue volatility planning
Compare the chart feed and trading terms
Use one consistent broker feed for every entered bar and verify the symbol's price precision, spread and trading conditions before using any measurement in a plan.
Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

