> For the complete documentation index, see [llms.txt](https://chartschool.stockcharts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-overlays/atr-trailing-stops.md).

# ATR Trailing Stops

## What Are ATR Trailing Stops?

The ATR (Average True Range) Trailing Stop is a volatility-based overlay that sets dynamic stop-loss levels for market exits or entries. The trailing stop is plotted below prices in an uptrend, and above prices in a downtrend.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2F9uRMj6ZhUHRmTqZKBirW%2Fatrts-example.png?alt=media&amp;token=3b05dede-1f8c-4915-968d-d2f449992565" alt=""><figcaption></figcaption></figure>

This overlay uses the Average True Range, a metric that evaluates market volatility, to determine where the trailing stops will be placed. By doing so, the overlay can help you manage risk (or identify market entry points) by dynamically adjusting the stop levels to the changing market conditions.

{% hint style="info" %}
**Learn More:** [Average True Range (ATR)](/table-of-contents/technical-indicators-and-overlays/technical-indicators/average-true-range-atr.md)
{% endhint %}

## Calculating ATR Trailing Stops

Whether the security is in an uptrend or a downtrend, the initial step is to calculate the ATR (Average True Range). By default, the ATR Trailing Stops are calculated using a 21-period ATR.

Chartists must also choose a multiplier, which adjusts how far the trailing stop should be from price. The choice of multiplier (such as 2x, 3x, or higher) depends on the anticipated level of volatility and the aggressiveness of your risk management approach. By default, the multiplier is set to 3.&#x20;

The formula for ATR Trailing Stops depends on the trend direction.

### Formula in an Uptrend

```
ATR Trailing Stop = Highest Price - (ATR x Multiplier)
```

In an uptrend, with the ATR Trailing Stop below the price bar, subtract the product of the ATR and the chosen multiplier from the highest price. This gives you the stop-loss level if you're holding a long position.

By default, the highest price refers to the highest closing value, but if the **Use High/Low** checkbox is checked, it will use the highest high in the formula instead.

#### Adjusting the Stop in an Uptrend

The trailing stop is adjusted only in the direction of the trend. For a long position, the stop level is raised if the price makes new highs, but the stop will never be lowered while the ATR Trailing Stop is below price.&#x20;

When a price bar closes below the stop, this signals a change in trend. The next price bar will have its ATR Trailing Stop set above the price bar.

{% hint style="warning" %}
**Note:** Even if the **Use High/Low** checkbox is checked, the signal is only triggered if the *closing* price is below the stop.
{% endhint %}

### Formula in a Downtrend

```
ATR Trailing Stop = Lowest Price + (ATR x Multiplier)
```

In a downtrend, with the ATR Trailing Stop above the price bar, add the product of the ATR and the chosen multiplier to the lowest price. This provides the stop-loss level for a short position.

By default, the lowest price refers to the lowest closing value, but if the Use High/Low checkbox is checked, it will use the lowest low instead.

#### Adjusting the Stop in a Downtrend

The trailing stop is adjusted only in the direction of the trend. For a short position, the stop level is lowered if the price makes new lows, but the stop will never be raised while the ATR Trailing Stop is above price.&#x20;

When a price bar closes above the stop, this signals a change in trend. The next price bar will have its ATR Trailing Stop set below the price bar.

{% hint style="warning" %}
**Note:** Even if the **Use High/Low** checkbox is checked, the signal is only triggered if the *closing* price is above the stop.
{% endhint %}

## Interpreting ATR Trailing Stops

### Identifying Trends and Trend Changes

You can use the ATR Trailing Stops as a tool for trend identification. If the ATR Trailing Stop is below the price, the market is in an uptrend. Conversely, if the trailing stop is above the price, it suggests that the market is in a downtrend.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FW02P9sR9mFwxHTEKEj58%2Fatrts-trends.png?alt=media&amp;token=274aa866-1290-4cf4-b9da-948f8b2c9a07" alt=""><figcaption><p>ATR Trailing Stops are above price in a downtrend and below price in an uptrend.</p></figcaption></figure>

In the example above, Amgen (AMGN) is in a downtrend from mid-March to May. The ATR Trailing Stops are above the price bars, and move downward as prices drop. In May, prices start to rise, but since stops above price are never lowered, they stay at the same level. In early June, price closes above the trailing stop, signaling a change in trend. The next bar's stop is set below the bar, and the stops are raised as prices rise. In July, prices dip lower, but trailing stops below price are never lowered, so they stay at the same level until prices begin to rise again later in July.

### Setting Exit Points&#x20;

The most common use of the ATR Trailing Stops is to set stop losses (exit points). For a long position, you would exit when the price drops below the stop. For a short position, the exit signal is when the price rises above the stop. This can help protect your profits by allowing positions to run during favorable conditions and closing them when markets reverse.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FLKpKvcBcBeI017aQRrU1%2Fatrts-exitpoints.png?alt=media&amp;token=5b757c71-411c-47a2-879e-b14d61548794" alt=""><figcaption><p>Exit long positions when price closes below the ATR Trailing Stop.</p></figcaption></figure>

In the example above, chartists who sold their Home Depot (HD) shares when price closed below the ATR Trailing Stop in late August would have avoided the steep price drop over the month of September.&#x20;

### Finding Entry Points

While primarily used for exit signals, ATR Trailing Stops can also be used as entry signals in a trend-following strategy. For instance, you can enter a long position when the price moves above the ATR Trailing Stop and enter a short position when the price moves below the ATR Trailing Stop.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FxTVP6x3j8EgpqQ35HXiS%2Fatrts-entrypoints.png?alt=media&amp;token=17092f5b-5f49-41fe-921a-8e7f83c5c901" alt=""><figcaption><p>Enter long positions when price closes above the ATR Trailing Stop.</p></figcaption></figure>

In the example above, chartists could buy AT\&T (T) shares when price closed above the ATR Trailing Stop in mid-July. Using this approach, you would not enter at the absolute bottom in early July, but there would still be plenty of trend to profit from. Price remained in an uptrend and did not fall below the stop again until late September.

## The Bottom Line

ATR Trailing Stops can be used to set stop losses and define entry points. Since they are adjusted automatically as prices change, they can help manage risk and protect profits. As with all technical indicators, ATR Trailing Stops should be used in conjunction with other technical analysis techniques.

## Charting ATR Trailing Stops

### Using with StockChartsACP

This overlay can be added from the Chart Settings panel for your StockChartsACP chart. ATR Trailing Stops can be overlaid on the security's price plot or an indicator panel.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FlXbQYTBf1O3DBB7VvZNA%2Fatrts-inacp.png?alt=media&amp;token=01adad44-367d-47c4-85e3-3f9bf1f09797" alt=""><figcaption></figcaption></figure>

[Click here for a live version of this chart.](https://schrts.co/uZffkNHV)

By default, the overlay uses 21 periods for the ATR calculation and 3 for the Multiplier. If you want the highest high and lowest low to be used in the calculation, rather than using the highest close and lowest close, then check the Use High/Low checkbox. Each of these parameters can be adjusted to meet your technical analysis needs.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-overlays/atr-trailing-stops.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
