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

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

# AccumulativeSwingIndex.Result

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

## Result

The time series of AccumulativeSwingIndex.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
accumulativeSwingIndex.Result: IndicatorDataSeries
```

### Returns

`IndicatorDataSeries` — The Output Series of AccumulativeSwingIndex.

### Examples

C#:

```csharp
//...

private AccumulativeSwingIndex _accumulativeSwingIndex;

//...

//...

protected override void OnStart()
{
    _accumulativeSwingIndex = Indicators.AccumulativeSwingIndex(LimitMove);
}
protected override void OnBar()
{
    // Print to log
    Print("The Current Accumulative Swing Index is: {0}", _accumulativeSwingIndex.Result.LastValue);
}

//...
```

Python:

```python
def on_start(self):
    self.accumulativeSwingIndex = api.Indicators.AccumulativeSwingIndex(api.LimitMove)

def on_bar_closed(self):
    api.Print(f"The Current Accumulative Swing Index is: {self.accumulativeSwingIndex.Result.LastValue}")
```

config.json:

```json
{
  "Parameters": [
    {
      "Name": "LimitMove",
      "DisplayName": "Limit Move",
      "Type": "Integer",
      "DefaultValue": 12
    }
  ]
}
```

