# HighestHighPrice()

#### Description <a href="#description_38" id="description_38"></a>

Highest High Price shows the highest high achieved within a predefined number of periods.

Unlike the GetSerieHighestValue(), this indicator can be displayed within the chart.

See  [*HighestHighIndex()*,](/standard-indicators/highesthighindex.md) [*LowestLowPrice()*](https://agenatrader.github.io/AgenaIndicator-documentation/indicators_oscillators/#lowestlowprice), [*LowestLowIndex*](https://agenatrader.github.io/AgenaIndicator-documentation/indicators_oscillators/#lowestlowindex), *GetSerieHighestValue()*, *GetSerieLowestValue()*.

#### Usage <a href="#usage_39" id="usage_39"></a>

```csharp
HighestHighPrice(int BarsBack)
HighestHighPrice(int BarsBack)[int barsAgo]
```

#### Return value <a href="#return-value_39" id="return-value_39"></a>

**double**

When using this method with an index (e.g. **HighestHighPrice**(14)\[**int** barsAgo] ), the value of the indicator will be outputted for the referenced bar.

#### Parameter <a href="#parameter_4" id="parameter_4"></a>

BarsBack Number of periods in which the highest high will be searched for

#### Visualization <a href="#visualization_40" id="visualization_40"></a>

![HighestHighPrice()](https://agenatrader.github.io/AgenaIndicator-documentation/media/HighestHighPrice.jpg)

#### Example <a href="#example_38" id="example_38"></a>

```csharp
// What was the value of the highest high in the last 14 periods?
Print("The highest high for the last 14 bars is " + HighestHighPrice(14)[0]);
```


---

# 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://indicators.agenatrader.com/standard-indicators/highesthighprice.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.
