Skip to main content
Cart Log in Sign up
Indicator

Chandelier Stop: ATR trailing stop from the extremes

Draws the Chandelier trailing stop as the highest high or lowest low minus a multiple of ATR, and marks each side change with a label and an alert.

Platform

License

Price

≈

Version

You own this product. Go to My products
Get the demo

  • Automatic, instant delivery once payment confirms
  • Free updates for every future version
  • 12 months of technical support
  • Refunds under a transparent policy
  • Pay with USDT, BTC, ETH and more
  • Free: no payment, download it right now

Risk warning: Trading financial markets carries a risk of losing capital, and past performance does not guarantee future results. Terms & conditions

Product type
Indicator
Platforms
TV
Market / symbol
Gold, FX majors, Indices, Crypto, Oil
Experience level
Beginner
Delivery
File download from your dashboard
Last update
November 30, 2026
Broker
Any broker

Overview

The Chandelier Exit is a well-known trailing stop: it hangs the long stop a few ATRs below the recent highest high, like a chandelier from a ceiling. As the trend rises the stop rises with it, and it never moves down.

This version calculates both the long and the short stop and shows only the one for the current side. When the close crosses the opposite stop, the side flips.

ATR stops work well in clean trends but move around a lot in ranges. Tune the multiplier to your timeframe and the symbol’s volatility.

  • Long and short stops in separate colors
  • The stop only moves in the trade’s favor
  • Highs and lows, or closes, as the starting point
  • Optional flip labels and background tint
  • Alerts for a flip to long, to short, or any side change

Made by

This tool is written by the TradeKit team. The source code is open and included in the download. It is free to use.

Strategy logic

Calculation

  • Long stop = highest High over the lookback − multiplier × ATR.
  • Short stop = lowest Low over the same lookback + multiplier × ATR.
  • With Use close for extremes on, closes are used instead of highs and lows.

Trailing

  • While the previous close stayed above the long stop, the long stop can only rise.
  • While the previous close stayed below the short stop, the short stop can only fall.

Side change

  • A close above the previous bar’s short stop flips to long; a close below the previous bar’s long stop flips to short.
  • By default labels and alerts are recorded on closed bars only.

Specifications

Requirements

  • TradingView, the free plan is enough
  • Best on 1-hour and higher, in trending markets
  • The script places no orders; move your stop in your own platform
Platforms
TV
Delivery
Use case
Swing، Trend following
Market
Gold، FX majors، Indices، Crypto، Oil
Experience level
Beginner

Compatible brokers

Which brokers this product works with, and which it works best with.

Works with every broker

No broker restriction: it works with any broker that offers the product's platform.

The broker choice is yours; TradeKit is not a broker. Check account terms before depositing. All brokers

Input parameters

Input parameters
ParameterDefaultDescription
Lookback (bars)Bars used for the highest high and lowest low 22 Bars used for the highest high and lowest low
ATR lengthBars used for the ATR 22 Bars used for the ATR
ATR multiplierStop distance from the extreme, in ATR multiples 3.0 Stop distance from the extreme, in ATR multiples
Use close for extremesUse closes instead of highs and lows for the extremes false Use closes instead of highs and lows for the extremes
Signals on bar close onlyFlip labels and alerts only after the bar closes true Flip labels and alerts only after the bar closes
Show flip labelsShow Long and Short labels where the side flips true Show Long and Short labels where the side flips
Tint background by sideTint the background by the current side false Tint the background by the current side

Install guide

  1. Unzip the download. It contains ChandelierStop.pine and a short readme.
  2. Open ChandelierStop.pine in a text editor such as Notepad and copy all of it.
  3. In TradingView open a chart and click the Pine Editor tab at the bottom of the screen.
  4. Create a new blank indicator, select all of the default code and paste over it.
  5. Click Add to chart.
  6. Click Save to keep it in your scripts, so you can add it later from the Indicators menu.

Works on the free TradingView plan; your plan’s limit on indicators per chart still applies.

Changelog

  1. v1.0.0 TV New November 30, 2026
    • Published on TradeKit

Buyer reviews

No reviews yet.

Only verified buyers can review. Reviews are moderated before publishing.

Only verified buyers can review. Reviews are moderated before publishing.

Sign in to write a review

FAQ

Where do 22 and 3 come from?
They are the common Chandelier Exit settings for daily charts; 22 is roughly the number of trading days in a month. Test other values for other timeframes.
Will it move the stop in my account?
No. It only shows the stop level on the chart. Use a TradingView alert to hear about side changes and move the stop yourself.
Why does the line move on the current bar?
The high, low and ATR of an open bar are not final yet. Once the bar closes, its stop value is fixed.

Related products

More Indicators and tools from the same family

Compare Compare now