> 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/median-price.md).

# Median Price

## What Is the Median Price Indicator?

The median price represents the midpoint between a price bar's high and low. The Median Price indicator is a line-based graph showing a moving average of each price bar's median price.&#x20;

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2Fgnuf7g4BpYls3ZXIIsOb%2Fmedprice-example.png?alt=media&amp;token=90c71999-5817-43fe-974d-26a8aab8e036" alt=""><figcaption></figcaption></figure>

The Median Price Indicator can provide a clearer picture of the market's underlying direction​ because the focus is on the median level of prices rather than closing prices, which are subject to volatility and large fluctuations. It can be used to identify the trend, and raw median price data can be compared to a moving average to find crossover signals.

## Calculating Median Price

The calculation of the Median Price indicator is relatively simple.

```
Median Price = (High + Low) / 2
Median Price Indicator = SMA of Median Price
```

First, average the high and low of each price bar to calculate the median price. Then calculate a simple moving average of the median price data for the specified lookback period.&#x20;

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

## Interpreting Median Price

### Identifying Trends

Interpreting the Median Price Indicator is pretty straightforward:

* A rising line suggests an uptrend
* A falling line suggests a downtrend

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

For volatile securities, the median price helps to smooth out the noise in the price bars. The chart below shows Sandisk (SNDK) with a median price line below the price plot. Notice that many of the price bars are very long, showing a wide trading range on those days. The smoothed median price line cuts through the noise, clearly showing an uptrend through early July, followed by a shorter downtrend into mid-August.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FfjeE1jIhGNiTWMSAseon%2Fmedprice-trend.png?alt=media&amp;token=e56a3d53-15fa-4e56-90bd-d32d01fba3ac" alt=""><figcaption><p>The Median Price Indicator can filter out the noise for volatile stocks</p></figcaption></figure>

### Median Price Crossovers

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

The chart below shows the Energy Select Sector SPDR Fund (XLE), with a 1-day Median Price, which is overlaid by a 50-day SMA. Configuring Median Price for a 1-day lookback period ensures that each data point is showing the raw median price value for that day.&#x20;

Notice that median price crossed above and below its SMA multiple times from late April to early June, while trading was choppy. It crossed below the SMA in mid-June on a gap down and stayed below the SMA for a few weeks. In mid-July, median price crossed back above its SMA line and stayed above it for the next two months as price soared.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FwmdtnAPoU9vOHMVws2Uw%2Fmedprice-macross.png?alt=media&amp;token=cb9942a2-c9ac-4020-bb71-76cd36f04864" alt=""><figcaption><p>A 1-period Median Price indicator shows raw median price data</p></figcaption></figure>

### Price Crossovers

Since the Median Price indicator functions like a moving average, it can be tempting to overlay it on the price plot and look for price crossovers of the median price line.&#x20;

Chartists should use caution when doing this. If the y-axis on the left (Median Price 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 median price values to verify whether a crossover has actually occurred.

In the GE Aerospace (GE) chart below, it appears on the chart that price crossed over the Median Price indicator right at the beginning of the chart on April 24th, but the axes do not line up vertically. Looking at the actual values for the April 24th bar, the closing price for the bar was 284.25, and the Median Price was 299.90, still well above price. Price would not actually cross above the Median Price until May 6th, on a large gap up.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FV77HBH34Fsci9V19UAoN%2Fmedprice-overlaid.png?alt=media&amp;token=02dda2ac-2e9e-4917-9b2d-6d20226c2067" alt=""><figcaption></figcaption></figure>

## The Bottom Line

The Median Price Indicator effectively identifies the overall trend of a stock's price by averaging the median prices over a given period. Its ability to filter out market noise and its easy-to-interpret construction and visual format make it particularly useful. Although it has its inherent limitations, if used properly, the Median Price Indicator can be a valuable tool in helping you identify and confirm trends. Plotting a 1-period Median Price indicator with its own moving average can show crossover signals based on median prices. As with most technical analysis tools, Median Price should not be used alone, but in conjunction with other complementary tools.

## Charting with the Median Price Indicator&#x20;

### Using with StockChartsACP <a href="#suggested_scans" id="suggested_scans"></a>

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%2F5Eh1Ph4vcVHZZmBNpwrM%2Fmedpriceinacp.png?alt=media&amp;token=de08f415-a920-48d7-9e67-748f034e3eb1" alt=""><figcaption></figcaption></figure>

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

By default, the indicator uses 14 periods for the SMA of median price. This parameter can be adjusted to meet your technical analysis needs. The example chart above uses a 1-period Median Price indicator, which shows the raw median price data. A separate 50-period SMA has been added to the Median Price 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/median-price.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.
