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

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

# SwingIndex.Result

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

## Result

Gets the Result Series of the Swing Index indicator.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IndicatorDataSeries Result {get;}
```

Python:

```python
swingIndex.Result: IndicatorDataSeries
```

### Returns

`IndicatorDataSeries` — 

### Examples

C#:

```csharp
var swingIndex = Indicators.SwingIndex(12);
Print("The value of SwingIndex for the last closed bar is {0}", swingIndex.Result.Last(1));
```

Python:

```python
swingIndex = api.Indicators.SwingIndex(12)
api.Print(f"The value of SwingIndex for the last closed bar is {swingIndex.Result.Last(1)}")
```

