Chandelier Exit

Calculate the Chandelier Exit for a given price series.

The Chandelier Exit, developed by Chuck Le Beau, is a trailing stop set a multiple of the Average True Range away from the most extreme price of the last window periods: the long exit “hangs” below the highest high like a chandelier from a ceiling, and the short exit sits above the lowest low.

The formula is as follows:

\[\text{Long Exit} = \text{Highest High}(\text{window}) - \text{multiplier} \cdot \operatorname{ATR}(\text{window})\] \[\text{Short Exit} = \text{Lowest Low}(\text{window}) + \text{multiplier} \cdot \operatorname{ATR}(\text{window})\]

A long position is closed when the price closes below the long exit, and a short position when it closes above the short exit. Because the distance is in ATRs, the stop is wider in volatile markets and tighter in quiet ones. The stop moves with both the highest high and the ATR, so it can fall while the high holds when volatility rises. The exits are in price units, so they are compared with the stock’s own price rather than across stocks.

Also known as: Chandelier Exit, Chandelier Stop, CE.

See volatility_model.get_chandelier_exit for the references.

Chandelier Exit in Python or via the MCP

Install the Finance Toolkit with:

pip install financetoolkit -U

Then call get_chandelier_exit as shown below.

from financetoolkit import Toolkit

toolkit = Toolkit(
    tickers=["TSLA"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2025-01-01",
    end_date="2025-12-31",
)

toolkit.technicals.get_chandelier_exit().xs("TSLA", level=1, axis="columns").tail(5)

Or, after setting up the Finance Toolkit MCP, ask:

Where were Tesla's Chandelier Exit stops for long and short positions from 24 to 31 December 2025?

Which returns:

Date Long Exit Short Exit
2025-12-24 444.423 455.497
2025-12-26 444.814 459.966
2025-12-29 445.062 470.658
2025-12-30 446.239 474.711
2025-12-31 447.641 473.309

Parameters

get_chandelier_exit accepts the following parameters.

ParameterTypeDescriptionExample
periodstrThe time period to consider for historical data. Can be “intraday”, “daily”, “weekly”, “monthly”, “quarterly” or “yearly”. Defaults to “daily”."weekly"
close_columnstrThe column name for closing prices in the historical data. Defaults to “Adj Close”, in which case the open, high and low prices are adjusted for dividends in the same way."Close"
windowintThe number of periods of the highest high, the lowest low and the Average True Range. Defaults to 22, about a month of trading days, as defined by Le Beau.20
multiplierfloatThe number of Average True Ranges the exits sit from the highest high and the lowest low. Defaults to 3.0, as defined by Le Beau.2.0
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise).2
growthboolWhether to calculate the growth of the Long Exit and Short Exit. Defaults to False.True
lagint | list[int]The lag to use for the growth calculation. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column
Share