---
id: "P:cAlgo.API.Bar.High"
kind: "property"
type: "T:cAlgo.API.Bar"
url: "https://help.ctrader.com/ctrader-algo/references/MarketData/Bars/Bar/High/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Bar.High

Member of [Bar](https://help.ctrader.com/ctrader-algo/references/MarketData/Bars/Bar/index.md).

## High

Gets the High price.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public double High {get;}
```

Python:

```python
bar.High: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var previousBar = Bars.Last(1);
if (Symbol.Bid > previousBar.High)
    Print("Price broke above the previous bar high {0}", previousBar.High);
```

Python:

```python
previousBar = api.Bars.Last(1)
if api.Symbol.Bid > previousBar.High:
    api.Print(f"Price broke above the previous bar high {previousBar.High}")
```

