# Gopalakrishnan Range Index

Some investment assets are more volatile than others. Before trading or investing in an asset, it helps to know if it'll take some time before reaching your profit target or if it will be a shorter-term trade. The Gopalakrishnan Range Index (or GAPO) determines the range of price moves for different assets and identifies which investments are more volatile and which tend to move in slow and consistent trends.

## Calculating the Gopalakrishnan Range Index

The indicator takes the log of the difference between the highest high and lowest low of a specific period and divides it by the log of the chosen period. The formula is as follows:

$$
GAPO = \[Log (Highest\nobreakspace highₙ - lowest\nobreakspace lowₙ)]/Log(n)
$$

## Charting the Gopalakrishnan Range Index

Say you're trying to decide whether to protect your portfolio by investing in the Financial Select Sector SPDR ETF (XLF), Utilities Select Sector SPDR ETF (XLU), and iShares 1–3 Year Treasury Bond ETF (SHY). However, the stock market still seems to favor mega tech stocks. Wouldn't investing in a high-flying stock like Nvidia (NVDA) make more sense?

In StockChartsACP, under **Chart Settings**, add the **Gopalakrishnan Range Index** from the **Standard Indicators** list.

The chart below shows the indicator in the chart of SHY. Note that GAPO is at -0.25 and over the last six months, the highest value was just slightly above zero.

<figure><img src="https://436553459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FERtrZrZOhufFzk6ZQO4B%2Fuploads%2FRMaTJw8B7VRTkL8r073m%2FGAPO-2.png?alt=media&#x26;token=f20cbcd7-2709-4407-b850-a0062c79a8b3" alt="Chart of SHY with Gopalakrishnan Range Index using StockCharts.com"><figcaption><p>The Gopalakrishnan Range Index applied to iShares 1–3 year Treasury Bond ETF (SHY).</p></figcaption></figure>

If you're looking to take advantage of a market where mega tech stocks are moving higher quickly and you decided to invest in SHY, you should be prepared to wait for a very long time before making an acceptable investment return.


---

# Agent Instructions: 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:

```
GET https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/gopalakrishnan-range-index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
