Chande Kroll Stop

Calculate the Chande Kroll Stop: a long and a short stop a multiple of the Average True Range from the recent extremes, which shows where a trend would be broken.

The Chande Kroll Stop is a pair of trailing stops a multiple of the Average True Range from the extreme price of the last window periods, smoothed a second time by taking the extreme of those first stops over stop_window periods. The high stop trails below the highs and the low stop above the lows: a close below the high stop exits a long position, a close above the low stop exits a short one, and a close above both lines marks an uptrend.

The formula is as follows:

\[\text{First High Stop} = \text{Highest High}(\text{window}) - \text{multiplier} \cdot \operatorname{ATR}(\text{window})\] \[\text{First Low Stop} = \text{Lowest Low}(\text{window}) + \text{multiplier} \cdot \operatorname{ATR}(\text{window})\] \[\text{High Stop} = \operatorname{Highest}(\text{First High Stop},\; \text{stop\_window})\] \[\text{Low Stop} = \operatorname{Lowest}(\text{First Low Stop},\; \text{stop\_window})\]

Also known as: CKSP, Chande Kroll stop loss. Chande and Kroll call the high stop the “stop short” and the low stop the “stop long”.

Example · META · 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_chande_kroll_stop:

from financetoolkit import Toolkit

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

toolkit.technicals.get_chande_kroll_stop().xs("META", level=1, axis="columns")

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

Where were the Chande Kroll stops of Meta Platforms in 2025?

Which returns:

Parameters

get_chande_kroll_stop accepts the following parameters.

ParameterTypeDescriptionExample
periodstrThe time period to consider for historical data. Options are: “intraday” (intraday prices), “daily” (daily prices), “weekly” (weekly prices), “monthly” (monthly prices), “quarterly” (quarterly prices), “yearly” (yearly prices). 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 10, as in TA-Lib.20
multiplierfloatThe number of Average True Ranges the first stops sit from the extremes. Defaults to 1.0, as in TA-Lib.2.0
stop_windowintThe number of periods over which the first stops are smoothed. Defaults to 9, as in TA-Lib.9, as in TA-Lib
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 stops. 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

References

  • Paper Chande, T.S. & Kroll, S. (1994). “The New Technical Trader.” John Wiley & Sons.
  • Library Referenced against TA-Lib’s CKSP
  • Library Shares similar logic as pandas-ta-classic’s cksp
Share