> 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/weighted-close.md).

# Weighted Close

## What Is the Weighted Close Indicator?

The weighted close incorporates both trading range and closing price information into a single data point per price bar, weighting the close more heavily than the trading range information. The Weighted Close indicator is a line-based graph showing a moving average of each price bar's weighted close price.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FiEf80guGirBXjhG1i42i%2Fweightedclose-example.png?alt=media&amp;token=ebab1be1-c1b7-4def-b306-5dbcd326c769" alt=""><figcaption></figcaption></figure>

Closing prices are subject to volatility and large fluctuations, so chartists may choose to use alternative ways to represent price. Median Price, for example, focuses on the day's trading range by looking at the midpoint of the high and low. The Typical Price combines both closing prices and trading range information in its price data. The Weighted Close expands on this, incorporating both closing prices and trading range information, but weighting the closing price more heavily.

{% hint style="info" %}
**Learn More:** [Median Price](https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/median-price.md) | [Typical Price](https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/typical-price.md)
{% endhint %}

Like other price data, the Weighted Close Indicator can be used to identify trends and, when used with moving averages, provide crossover signals.

## Calculating Weighted Close

The calculation of the Weighted Close indicator is relatively simple.

```
Weighted Close = (High + Low + (Close x 2) / 4
Weighted Close Indicator = SMA of Weighted Close
```

First, average the high, low, and twice the close of each price bar to calculate the weighted close. Then calculate a simple moving average of the weighted close data for the specified lookback period.

{% hint style="info" %}
**Learn More:** [Moving Averages](https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-overlays/moving-averages-simple-and-exponential.md)
{% endhint %}

## Interpreting Weighted Close

### Identifying Trends

Interpreting the Weighted Close Indicator is pretty straightforward:

* A rising line suggests an uptrend
* A falling line suggests a downtrend&#x20;

Changes in the line's direction can also signal a change in trend. When the weighted close line bottoms and begins to trend upwards, this may signal the start of an uptrend; conversely, when the weighted close line tops and turns downward, this may signal the start of a downtrend.&#x20;

Because the Weighted Close weights potentially volatile closing prices more heavily, the weighted close can be nearly as noisy as the close alone, but incorporating the midpoint (the average of high and low) in the formula helps smooth out some of the noise.&#x20;

The chart below shows Advanced Micro Devices (AMD) with a weighted close line below the price plot. Notice that many of the price bars are very long, showing a wide trading range on those days. While the Weighted Close line is not as smooth as Median Price, it does cut through some of the noise of the price bars, showing a clear uptrend through the beginning of July, a sideways trading range until late July, and then a downtrend through early September.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FO8AIfyZzNawklHjd5c8Y%2Fweightedclose-trend.png?alt=media&amp;token=4e1ce6d3-f549-42f7-92be-b3303c32e185" alt=""><figcaption><p>The Weighted Close indicator smooths out noisy price bars on a volatile stock.</p></figcaption></figure>

### Weighted Close Crossovers

By default, the Weighted Close indicator produces a 14-period simple moving average of Weighted Close data, but you can also use this indicator to plot the raw weighted close data. Adding a separate SMA to the plot allows you to look for signals where the weighted close crosses above or below its moving average.

The chart below shows the Real Estate Select Sector SPDR Fund (XLRE), with a 1-day Weighted Close, which is overlaid by a 50-day SMA. Configuring Weighted Close for a 1-day lookback period ensures that each data point is showing the raw weighted close value for that day.

Notice that the weighted close crossed above its SMA in early April, then tested the SMA line several times over the next four months as prices became choppy. Other than a slight dip below the SMA line in mid-June, the Weighted Close stayed above its SMA consistently until early August. In late August, it dropped below the SMA and stayed there for several weeks as price plummeted back to early April levels.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FxYsmP3UvnHQeFFfRdIH2%2Fweightedclose-macross.png?alt=media&amp;token=77ee0e80-46d8-4531-b017-ad7ad41236a5" alt=""><figcaption><p>A 1-period Weighted Close indicator shows raw weighted close data</p></figcaption></figure>

### Price Crossovers

Since the Weighted Close indicator functions like a moving average, it can be tempting to overlay it on the price plot and look for price crossovers of the weighted close line.

Chartists should use caution when doing this. If the y-axis on the left (Weighted Close indicator) and the y-axis on the right (Price) do not line up vertically, any "crossovers" you see on the chart may be inaccurate. In this situation, it is necessary to manually compare the price and weighted close values to verify whether a crossover has actually occurred.

In the Home Depot (HD) chart below, it appears on the chart that price crossed over the Weighted Close indicator on May 18th (shown in the red circle), but the axes do not line up vertically. Looking at the actual values for the May 18th bar, the closing price for the bar was 295.40, and the Weighted Close was 309.66, still well above price. Price would not actually cross above the Weighted Close until May 21st, after three days of huge price increases.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FOL5ApQ04Ti2KmmjDOncs%2Fweightedclose-overlaid.png?alt=media&amp;token=952b810c-80e1-4905-b548-2f8559fee4eb" alt=""><figcaption><p>When overlaying Weighted Close on the price plot, ensure the two axes line up before looking for price crossovers.</p></figcaption></figure>

## The Bottom Line

The Weighted Close Indicator effectively identifies the overall trend of a stock's price by averaging the weighted close prices over a given period. Its ability to filter out market noise by incorporating trading range info, while still remaining close to closing prices, make it a particularly useful representation of price. Although it has its inherent limitations, if used properly, the Weighted Close Indicator can be a valuable tool in helping you identify and confirm trends. Plotting a 1-period Weighted Close indicator with its own moving average can show crossover signals based on weighted close prices. As with most technical analysis tools, Weighted Close should not be used alone, but in conjunction with other complementary tools.

## Charting with the Weighted Close Indicator

### Using with StockChartsACP

This 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="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FtZIvlAJSkcHEbyl4yhD5%2Fweightedcloseinacp.png?alt=media&amp;token=7295dbf8-634a-4d6a-812d-898b3565fff4" alt=""><figcaption></figcaption></figure>

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

By default, the indicator uses 14 periods for the SMA of the weighted close data. This parameter can be adjusted to meet your technical analysis needs. The example chart above uses a 1-period Weighted Close indicator, which shows the raw weighted close data. A separate 50-period SMA has been added to the Weighted Close indicator.


---

# 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-indicators/weighted-close.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.
