---
id: "P:cAlgo.API.Indicators.DonchianChannel.Middle"
kind: "property"
type: "T:cAlgo.API.Indicators.DonchianChannel"
url: "https://help.ctrader.com/ctrader-algo/references/Indicators/DonchianChannel/Middle/"
---

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

# DonchianChannel.Middle

Member of [DonchianChannel](https://help.ctrader.com/ctrader-algo/references/Indicators/DonchianChannel/index.md).

## Middle

Gets or sets the middle of the highest high and the lowest low of the period.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IndicatorDataSeries Middle {get; set;}
```

Python:

```python
donchianChannel.Middle: IndicatorDataSeries
```

### Returns

`IndicatorDataSeries` — 

### Examples

C#:

```csharp
var donchian = Indicators.DonchianChannel(20);
Print("Middle Value = {0}", donchian.Middle.LastValue);
```

Python:

```python
donchian = api.Indicators.DonchianChannel(20)
api.Print(f"Middle Value = {donchian.Middle.LastValue}")
```

