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:
| Date | High Stop | Low Stop |
|---|---|---|
| 2025-01-02 | 618.122 | 591.281 |
| 2025-01-03 | 618.122 | 591.281 |
| 2025-01-06 | 618.122 | 591.281 |
| 2025-01-07 | 618.122 | 591.281 |
| 2025-01-08 | 617.130 | 591.281 |
| 2025-01-10 | 614.174 | 591.281 |
| 2025-01-13 | 614.174 | 591.281 |
| 2025-01-14 | 614.174 | 591.281 |
| 2025-01-15 | 611.905 | 591.547 |
| 2025-01-16 | 611.905 | 591.547 |
| 2025-01-17 | 611.905 | 592.683 |
| 2025-01-21 | 611.905 | 597.110 |
| 2025-01-22 | 612.390 | 597.110 |
| 2025-01-23 | 615.507 | 598.604 |
| 2025-01-24 | 630.795 | 598.604 |
| 2025-01-27 | 640.491 | 598.762 |
| 2025-01-28 | 658.756 | 599.743 |
| 2025-01-29 | 659.220 | 602.505 |
| 2025-01-30 | 685.766 | 602.656 |
| 2025-01-31 | 685.903 | 602.656 |
| 2025-02-03 | 685.903 | 602.656 |
| 2025-02-04 | 685.903 | 602.656 |
| 2025-02-05 | 693.198 | 602.680 |
| 2025-02-06 | 694.508 | 604.786 |
| 2025-02-07 | 701.293 | 605.125 |
| 2025-02-10 | 702.270 | 619.694 |
| 2025-02-11 | 702.777 | 621.061 |
| 2025-02-12 | 705.223 | 621.061 |
| 2025-02-13 | 707.795 | 627.145 |
| 2025-02-14 | 719.822 | 636.946 |
| 2025-02-18 | 719.822 | 638.453 |
| 2025-02-19 | 719.822 | 641.117 |
| 2025-02-20 | 719.822 | 641.117 |
| 2025-02-21 | 719.822 | 674.314 |
| 2025-02-24 | 719.822 | 677.502 |
| 2025-02-25 | 719.822 | 657.758 |
| 2025-02-26 | 719.822 | 657.758 |
| 2025-02-27 | 719.822 | 657.758 |
| 2025-02-28 | 718.861 | 657.758 |
| 2025-03-03 | 718.861 | 657.758 |
| 2025-03-04 | 718.861 | 643.580 |
| 2025-03-05 | 718.504 | 643.403 |
| 2025-03-06 | 717.855 | 643.403 |
| 2025-03-07 | 717.125 | 622.360 |
| 2025-03-10 | 716.545 | 610.037 |
| 2025-03-11 | 715.469 | 609.534 |
| 2025-03-12 | 714.903 | 609.534 |
| 2025-03-13 | 710.169 | 609.534 |
| 2025-03-14 | 679.481 | 609.258 |
| 2025-03-17 | 678.296 | 608.152 |
| 2025-03-18 | 675.660 | 597.389 |
| 2025-03-19 | 659.548 | 596.585 |
| 2025-03-20 | 658.712 | 596.585 |
| 2025-03-21 | 658.712 | 596.293 |
| 2025-03-24 | 658.567 | 596.293 |
| 2025-03-25 | 651.271 | 595.507 |
| 2025-03-26 | 651.271 | 595.150 |
| 2025-03-27 | 630.752 | 594.232 |
| 2025-03-28 | 630.241 | 594.114 |
| 2025-03-31 | 622.155 | 573.825 |
| 2025-04-01 | 608.484 | 573.487 |
| 2025-04-02 | 608.484 | 573.123 |
| 2025-04-03 | 608.484 | 553.322 |
| 2025-04-04 | 608.484 | 518.562 |
| 2025-04-07 | 608.484 | 509.366 |
| 2025-04-08 | 608.484 | 509.366 |
| 2025-04-09 | 608.337 | 509.366 |
| 2025-04-10 | 608.337 | 509.366 |
| 2025-04-11 | 608.337 | 509.366 |
| 2025-04-14 | 608.337 | 509.366 |
| 2025-04-15 | 605.249 | 509.366 |
| 2025-04-16 | 604.082 | 509.366 |
| 2025-04-17 | 601.037 | 509.366 |
| 2025-04-21 | 592.485 | 507.281 |
| 2025-04-22 | 574.633 | 506.513 |
| 2025-04-23 | 560.836 | 506.513 |
| 2025-04-24 | 556.033 | 505.770 |
| 2025-04-25 | 556.033 | 504.605 |
| 2025-04-28 | 556.033 | 503.675 |
| 2025-04-29 | 556.033 | 502.295 |
| 2025-04-30 | 556.033 | 502.295 |
| 2025-05-01 | 563.392 | 502.295 |
| 2025-05-02 | 574.199 | 502.295 |
| 2025-05-05 | 575.413 | 502.295 |
| 2025-05-06 | 576.752 | 502.295 |
| 2025-05-07 | 577.587 | 502.295 |
| 2025-05-08 | 585.436 | 502.295 |
| 2025-05-09 | 586.209 | 502.295 |
| 2025-05-12 | 612.607 | 502.296 |
| 2025-05-13 | 633.369 | 504.189 |
| 2025-05-14 | 636.715 | 504.717 |
| 2025-05-15 | 636.923 | 510.031 |
| 2025-05-16 | 637.414 | 538.707 |
| 2025-05-19 | 638.108 | 538.848 |
| 2025-05-20 | 639.432 | 549.094 |
| 2025-05-21 | 639.800 | 549.094 |
| 2025-05-22 | 640.520 | 551.315 |
| 2025-05-23 | 641.030 | 551.315 |
| 2025-05-27 | 641.281 | 590.513 |
| 2025-05-28 | 642.248 | 598.097 |
| 2025-05-29 | 642.248 | 603.888 |
| 2025-05-30 | 642.248 | 603.888 |
| 2025-06-02 | 651.967 | 603.888 |
| 2025-06-03 | 655.031 | 607.816 |
| 2025-06-04 | 667.911 | 607.816 |
| 2025-06-05 | 673.835 | 636.484 |
| 2025-06-06 | 682.134 | 636.498 |
| 2025-06-09 | 685.112 | 636.498 |
| 2025-06-10 | 685.619 | 636.498 |
| 2025-06-11 | 689.218 | 636.498 |
| 2025-06-12 | 690.008 | 636.849 |
| 2025-06-13 | 690.203 | 636.849 |
| 2025-06-16 | 690.203 | 636.849 |
| 2025-06-17 | 690.203 | 636.849 |
| 2025-06-18 | 690.780 | 636.939 |
| 2025-06-20 | 690.780 | 645.177 |
| 2025-06-23 | 690.780 | 645.177 |
| 2025-06-24 | 694.455 | 645.177 |
| 2025-06-25 | 698.300 | 645.177 |
| 2025-06-26 | 709.485 | 656.407 |
| 2025-06-27 | 717.291 | 678.022 |
| 2025-06-30 | 729.805 | 680.912 |
| 2025-07-01 | 729.805 | 690.984 |
| 2025-07-02 | 729.884 | 690.905 |
| 2025-07-03 | 729.884 | 690.905 |
| 2025-07-07 | 730.001 | 690.867 |
| 2025-07-08 | 730.682 | 690.867 |
| 2025-07-09 | 730.682 | 690.867 |
| 2025-07-10 | 730.682 | 690.867 |
| 2025-07-11 | 730.682 | 690.867 |
| 2025-07-14 | 730.682 | 690.867 |
| 2025-07-15 | 730.682 | 690.867 |
| 2025-07-16 | 730.682 | 690.867 |
| 2025-07-17 | 730.682 | 690.867 |
| 2025-07-18 | 730.682 | 702.732 |
| 2025-07-21 | 730.421 | 702.611 |
| 2025-07-22 | 730.317 | 702.611 |
| 2025-07-23 | 730.317 | 702.335 |
| 2025-07-24 | 730.317 | 701.986 |
| 2025-07-25 | 720.777 | 701.544 |
| 2025-07-28 | 720.777 | 701.475 |
| 2025-07-29 | 720.777 | 701.475 |
| 2025-07-30 | 720.777 | 701.475 |
| 2025-07-31 | 759.914 | 701.475 |
| 2025-08-01 | 759.914 | 701.475 |
| 2025-08-04 | 759.914 | 701.475 |
| 2025-08-05 | 759.914 | 701.475 |
| 2025-08-06 | 760.037 | 701.475 |
| 2025-08-07 | 760.651 | 701.475 |
| 2025-08-08 | 761.616 | 702.552 |
| 2025-08-11 | 762.736 | 702.552 |
| 2025-08-12 | 770.734 | 707.233 |
| 2025-08-13 | 772.773 | 707.233 |
| 2025-08-14 | 773.195 | 707.233 |
| 2025-08-15 | 774.349 | 707.233 |
| 2025-08-18 | 774.349 | 707.233 |
| 2025-08-19 | 774.349 | 707.233 |
| 2025-08-20 | 774.349 | 707.233 |
| 2025-08-21 | 774.349 | 707.233 |
| 2025-08-22 | 774.349 | 708.118 |
| 2025-08-25 | 774.681 | 746.379 |
| 2025-08-26 | 775.825 | 745.235 |
| 2025-08-27 | 776.419 | 744.642 |
| 2025-08-28 | 776.859 | 744.201 |
| 2025-08-29 | 776.859 | 744.154 |
| 2025-09-02 | 776.859 | 735.000 |
| 2025-09-03 | 776.859 | 734.004 |
| 2025-09-04 | 776.859 | 734.004 |
| 2025-09-05 | 776.859 | 734.004 |
| 2025-09-08 | 776.859 | 734.004 |
| 2025-09-09 | 776.859 | 734.004 |
| 2025-09-10 | 776.859 | 734.004 |
| 2025-09-11 | 756.549 | 733.513 |
| 2025-09-12 | 748.791 | 733.418 |
| 2025-09-15 | 755.582 | 733.418 |
| 2025-09-16 | 762.718 | 733.418 |
| 2025-09-17 | 764.497 | 733.418 |
| 2025-09-18 | 769.991 | 733.418 |
| 2025-09-19 | 771.410 | 733.418 |
| 2025-09-22 | 771.410 | 733.418 |
| 2025-09-23 | 771.410 | 733.418 |
| 2025-09-24 | 771.473 | 733.418 |
| 2025-09-25 | 771.480 | 734.156 |
| 2025-09-26 | 771.638 | 746.490 |
| 2025-09-29 | 772.075 | 750.378 |
| 2025-09-30 | 772.075 | 739.517 |
| 2025-10-01 | 772.075 | 724.314 |
| 2025-10-02 | 772.075 | 723.702 |
| 2025-10-03 | 772.075 | 723.702 |
| 2025-10-06 | 772.075 | 705.553 |
| 2025-10-07 | 772.075 | 705.086 |
| 2025-10-08 | 772.075 | 704.575 |
| 2025-10-09 | 772.075 | 704.575 |
| 2025-10-10 | 771.922 | 704.575 |
| 2025-10-13 | 771.692 | 704.575 |
| 2025-10-14 | 771.692 | 704.575 |
| 2025-10-15 | 766.686 | 704.575 |
| 2025-10-16 | 750.618 | 704.575 |
| 2025-10-17 | 741.627 | 704.575 |
| 2025-10-20 | 737.813 | 704.575 |
| 2025-10-21 | 732.529 | 705.035 |
| 2025-10-22 | 730.003 | 705.499 |
| 2025-10-23 | 724.109 | 705.499 |
| 2025-10-24 | 724.685 | 705.499 |
| 2025-10-27 | 737.769 | 705.499 |
| 2025-10-28 | 740.669 | 705.499 |
| 2025-10-29 | 741.283 | 705.499 |
| 2025-10-30 | 741.283 | 671.867 |
| 2025-10-31 | 741.283 | 667.815 |
| 2025-11-03 | 741.283 | 658.321 |
| 2025-11-04 | 741.283 | 647.324 |
| 2025-11-05 | 741.283 | 646.545 |
| 2025-11-06 | 741.283 | 638.091 |
| 2025-11-07 | 741.283 | 621.215 |
| 2025-11-10 | 741.283 | 620.694 |
| 2025-11-11 | 735.987 | 619.774 |
| 2025-11-12 | 735.987 | 619.774 |
| 2025-11-13 | 735.987 | 619.222 |
| 2025-11-14 | 735.987 | 613.079 |
| 2025-11-17 | 735.987 | 612.713 |
| 2025-11-18 | 735.987 | 601.361 |
| 2025-11-19 | 735.987 | 598.522 |
| 2025-11-20 | 735.987 | 598.522 |
| 2025-11-21 | 735.987 | 598.522 |
| 2025-11-24 | 657.997 | 598.522 |
| 2025-11-25 | 652.554 | 598.522 |
| 2025-11-26 | 637.210 | 597.989 |
| 2025-11-28 | 627.587 | 597.557 |
| 2025-12-01 | 628.399 | 596.746 |
| 2025-12-02 | 629.168 | 595.976 |
| 2025-12-03 | 630.508 | 595.433 |
| 2025-12-04 | 655.643 | 595.433 |
| 2025-12-05 | 656.149 | 595.433 |
| 2025-12-08 | 657.363 | 595.433 |
| 2025-12-09 | 657.728 | 595.433 |
| 2025-12-10 | 658.046 | 595.433 |
| 2025-12-11 | 658.239 | 595.433 |
| 2025-12-12 | 686.817 | 595.433 |
| 2025-12-15 | 687.569 | 595.433 |
| 2025-12-16 | 687.742 | 597.559 |
| 2025-12-17 | 688.628 | 597.559 |
| 2025-12-18 | 688.628 | 612.669 |
| 2025-12-19 | 689.253 | 632.904 |
| 2025-12-22 | 689.498 | 645.871 |
| 2025-12-23 | 690.635 | 649.535 |
| 2025-12-24 | 691.835 | 653.213 |
| 2025-12-26 | 692.750 | 652.298 |
| 2025-12-29 | 692.750 | 652.209 |
| 2025-12-30 | 692.750 | 652.209 |
| 2025-12-31 | 692.750 | 652.209 |
250 rows
Parameters
get_chande_kroll_stop accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
period | str | The 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_column | str | The 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" |
window | int | The number of periods of the highest high, the lowest low and the Average True Range. Defaults to 10, as in TA-Lib. | 20 |
multiplier | float | The number of Average True Ranges the first stops sit from the extremes. Defaults to 1.0, as in TA-Lib. | 2.0 |
stop_window | int | The number of periods over which the first stops are smoothed. Defaults to 9, as in TA-Lib. | 9, as in TA-Lib |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise). | 2 |
growth | bool | Whether to calculate the growth of the stops. Defaults to False. | True |
lag | int | list[int] | The lag to use for the growth calculation. Defaults to 1. | 4 |
standardize | bool | Whether 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_columns | str | list[str] | None | The 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