> 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-indicators/distance-to-highs.md).

# Distance To Highs

## What Is the Distance To Highs Indicator? <a href="#what_is_the_distance_to_highs_indicator" id="what_is_the_distance_to_highs_indicator"></a>

The Distance To Highs indicator shows how much a security's price needs to increase in order to reach a recent significant high. Because previous highs often act as natural resistance lines, knowing whether or not price is close to a previous high during an uptrend can help chartists to identify potential changes in trend and set entry/exit points.

<figure><img src="/files/x9Tt5Ez6q5CT9YgDe7VR" alt=""><figcaption></figcaption></figure>

## Calculating the Distance To Highs

The formula for this indicator is simple:

```
(High - Close) / Close * 100
```

The Close value is subtracted from the High in order to determine the difference between the two values. The difference is divided by the Close value and multiplied by 100 in order to convert the raw value to a percentage.

{% hint style="success" %}
**Cool Tip:** Expressing the value as a percentage makes it easier to compare Distance To Highs values over time or even between different securities.
{% endhint %}

The formula can be calculated using the 52-week, 9-month, 6-month, or 3-month high. In addition, the indicator can be calculated with either the intraday high or the closing high. Choose the type and length of high that best meet your technical analysis needs.

## Interpreting the Distance To Highs

Recent highs often act as resistance during an uptrend, so it can be useful to see how far away the current price is from the high. The Distance To Highs indicator does this by determining how much the security's price would need to increase to reach the high. If the price increase needed is small, the stock is close to the resistance high and may be heading for a pullback or a change in trend. Chartists should assess momentum and other technicals to determine whether a pullback or reversal is more likely.

If you're a trader who likes to open a long position when price has broken above a significant high, then knowing how much price would need to increase to reach that high can also be useful for timing your trade entries.

<figure><img src="/files/QwgCIWG2MkZmvxBqLKgM" alt=""><figcaption><p>The Distance To Highs indicator shows this stock is very close to its 52-week high.</p></figcaption></figure>

In the chart above, Johnson & Johnson (JNJ) made new highs in January and February, touching the zero line of the Distance To Highs indicator several times, then drifted downward again over several weeks. In June, price turned sharply upward again, and is close to making a new 52-week high again. The Distance To Highs value for the latest bar on the chart is 2.60%, meaning it needs to increase in price by only 2.6% to reach its 52-week high.&#x20;

{% hint style="success" %}
**Cool Tip:** Another way to look at this same information is with the [Distance From Highs indicator](/table-of-contents/technical-indicators-and-overlays/technical-indicators/distance-from-highs.md), which measures how far away price is from a previous high.
{% endhint %}

## The Bottom Line

Plotting the historical Distance To Highs values on the chart allows chartists to see at a glance how much price must increase to reach a previous high, but also whether or not it's getting closer to that goal over time. Because previous highs often act as resistance, this valuable information can help traders to identify potential pullbacks and reversals, as well as time trade entries and exits.

As with all indicators, traders should use the Distance To Highs indicator in conjunction with other indicators and analysis techniques.

## Charting with the Distance To Highs <a href="#charting_distance_to_highs" id="charting_distance_to_highs"></a>

The Distance To Highs indicator can be added to SharpCharts and ACP Charts.

### Using with SharpCharts

Distance To Highs is available on SharpCharts in the “Indicators” section. The indicator can be positioned above, below, or behind the security's price plot. Once the indicator is chosen from the dropdown list, a Distance To Highs indicator is added to the chart with the default settings. The first parameter determines the length of the high: 52W (52 weeks, the default), 9M (9 months), 6M (six months), or 3M (three months). The second parameter indicates whether the closing high or the intraday high is used. To configure the indicator for intraday highs, replace the "CLOSE" with "INTRADAY".

[Click here for a live version of this chart.](https://stockcharts.com/sc3/ui/?s=HON\&a=2298561634\&p=D\&b=5\&g=0\&id=p82000137768)

<figure><img src="/files/mmzz4j76DNZh8ZLpcIEB" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/OnMtPV3ouZpKhRLqufS8" alt=""><figcaption><p>SharpCharts settings for Distance To Highs</p></figcaption></figure>

{% hint style="info" %}
**Learn More:** For more details on the parameters used to configure Distance To Highs indicators, please see our [SharpCharts Parameter Reference](https://help.stockcharts.com/charts-and-tools/sharpcharts/sharpcharts-workbench/editing-sharpcharts/sharpcharts-parameter-reference#distance_to_highs) in the Support Center.
{% endhint %}

### Using with StockChartsACP

The Distance To Highs indicator can be added from the Chart Settings panel for your StockChartsACP chart. The indicator can be positioned above, below, or behind the security's price plot.

<figure><img src="/files/1m7J7GXzXBLJFeEO8PuE" alt=""><figcaption></figcaption></figure>

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

By default, the indicator uses the 52-week closing high, but the length and type of high 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/distance-to-highs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
