Chandelier Exit Calculator
Calculate long-side and short-side Chandelier Exit references from the final lookback high and low plus a declared Wilder ATR multiple.
Enter OHLC bars and an extrema lookback
The ATR uses the full entered history; the highest high and lowest low use only the final declared lookback.
Whole number from 2 through 200, no longer than the entered history.
Positive decimal from 0.01 through 100; this is a scenario, not an optimized setting.
Whole number from 2 through 500, no longer than the entered history.
One row per bar: Label, High, Low, Close. Use commas, tabs or semicolons; omit a header row.
Latest Chandelier Exit references
Entered Volatility Stop Overlays 1.0.0.
| Bar | In extrema window | High | Low | Close | True range | Wilder ATR |
|---|
How the Chandelier Exit references are calculated
Short Chandelier = lowest Low over the final lookback + multiplier × latest ATR
ATR uses gap-aware true range and Wilder recursive smoothing
Version 1.0.0 separates two windows that are often hidden inside chart indicators. Wilder ATR is calculated recursively from the full entered sequence after its initial period seed. The highest high and lowest low are then selected only from the final Chandelier lookback. The result table marks the rows included in that extrema window.
For a long-side reference, the volatility offset is subtracted from the lookback highest high. For a short-side reference, the same offset is added to the lookback lowest low. This differs from the ATR Stop-Loss Calculator, which anchors both references to the latest close rather than to favorable lookback extremes.
The calculated lines can move when a new extreme appears, when an old extreme leaves the window, or when ATR changes. A platform may add persistence rules, use a different price field, exclude the current bar, use another ATR seed, or delay an update until bar close. Match those conventions before expecting exact agreement.
A careful interpretation workflow
Start with the visible inputs and row-level audit trail, then decide whether the entered history and declared convention answer your actual risk question. A precise line is not evidence that the line is optimal.
- Verify which final bars are highlighted in the extrema window before using the highest high or lowest low.
- Keep the ATR period and extrema lookback separate; equal defaults do not make them the same calculation.
- Compare only with platforms using the same current-bar inclusion, ATR seed, price fields and recursive rules.
- Do not treat a price touching the displayed reference as a verified fill or completed-bar crossing.
- Test sensitivity to multiplier and lookback on out-of-sample data rather than selecting the cleanest historical line.
- Use a separate position-size and cost model if a chosen reference becomes part of a real risk plan.
Worked example from the audited fixture
How to interpret the result
The long and short values are shown together for auditability, not because both are actionable. A trader evaluating a real long position would normally study the long-side convention, while a real short position would use the short-side convention. Whether a close or intrabar touch counts as an exit belongs to a separately tested execution rule.
ATR stop, Chandelier Exit and Supertrend compared
All three use ATR, but their anchors and state rules answer different questions. They should not be treated as duplicate names for the same stop. The table below keeps the differences visible before you transfer a value into a chart or risk worksheet.
| Overlay | Anchor | Path dependence | Primary output | Not included |
|---|---|---|---|---|
| ATR stop reference | Latest entered close | ATR recursion only | Symmetrical long/short reference | Volume and order rules |
| Chandelier Exit | Lookback highest high or lowest low | ATR plus rolling extrema | Long/short extrema-based reference | Crossing or fill verdict |
| Supertrend | HL2 basic bands retained by prior state | ATR plus recursive final bands and state | Active line and mechanical state | BUY/SELL recommendation |
The ATR Calculator isolates the underlying volatility series. The ATR Position Size Calculator then answers a separate question: how much volume corresponds to a chosen risk budget and ATR distance. Separating line placement from size helps prevent a wider volatility stop from silently increasing account risk.
Assumptions and limits
- The Chandelier lookback must be a whole number from 2 through 500 and cannot exceed the entered bar count.
- The selected ATR period must be from 2 through 200 and cannot exceed the entered history.
- The current final bar is included in both the latest ATR and the extrema lookback; the page cannot verify that it is closed.
- The model does not persist a prior Chandelier line, enforce one-way trailing, or simulate a stop order.
- Broker spread, gaps, slippage, tick size, stop-level restrictions and order-side pricing are outside the calculation.
- Historical OHLC quality, symbol changes, missing bars, time zones and session breaks must be checked before pasting.
- No trend verdict, crossing signal, exit instruction, price forecast or personalized financial advice is produced.
Prepare OHLC data before calculating
Export completed bars from one symbol, one timeframe and one broker or data vendor. Keep them in chronological order from oldest to newest and include enough earlier history for the ATR recursion to warm up. A short pasted sample can reproduce the formula while still differing from a platform that initialized ATR hundreds of bars earlier.
Use raw price units consistently. Do not mix points, pips and quoted prices inside the OHLC rows. For currencies quoted to different decimal places, the formulas still operate in price units; any conversion to pips needs the symbol’s pip size. Metals, indices, crypto and CFDs can have contract and tick conventions that differ materially from spot FX.
Check high, low and close fields against the source before pasting. The calculator rejects a close outside the stated bar range, but it cannot discover a mislabeled timestamp, duplicated candle, daylight-saving shift, weekend rule or missing session. Record symbol, timeframe, time zone, source, dates, parameters and model version with any saved result.
If the level will inform a live order, separately check bid/ask side, current spread, tick size, minimum stop distance, guaranteed-stop rules, slippage, market gaps and position volume. These operational constraints are deliberately kept outside a descriptive entered-data calculator.
Frequently asked questions
- The long reference is final-lookback highest high minus multiplier times latest ATR; the short reference is final-lookback lowest low plus the same ATR offset.
- They are separate inputs. ATR uses its declared smoothing period, while the extrema window uses the declared Chandelier lookback.
- Yes. Version 1.0.0 includes the final entered bar in the extrema window and ATR path, but cannot verify that the bar is closed.
- An indicator may exclude the current bar, retain a one-way trail, use another ATR seed or update intrabar under different rules.
- No. It reports formula-defined reference levels and does not label a cross, fill, open position or exit instruction.
- This calculator recomputes the raw latest formula and does not enforce a separate one-way trailing or persistence rule.
- No. Bid-ask spread, market gaps, slippage, tick size and broker stop restrictions remain outside the model.
- No. A reference line cannot guarantee execution, profit protection or a favorable trading outcome.
Sources and methodology
- TradingView — Chandelier Exit — Documents the highest-high and lowest-low ATR-multiple formulas.
- TradingView — Average True Range — Documents gap-aware true range and RMA/Wilder-style smoothing.
- Fidelity Charting Indicators Guide — Provides independent context for volatility and trailing indicator use.
The operational contract is Entered Volatility Stop Overlays version 1.0.0. Formula branches, boundary initialization, fixture outputs, validation and the production-isolation guard are tested before a staging release. Source links explain methodology; they do not endorse this site or any trading outcome.
Continue the volatility and risk workflow
Compare chart feeds and stop-order terms
Before transferring an entered volatility line to execution, compare the broker’s symbol history, quote precision, spreads, commissions, stop-level rules and gap policy. An ATR series calculated from one chart feed need not reproduce exactly on another, and a reference price is not a guaranteed fill.
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.

