---
id: "T:cAlgo.API.Indicators.AccumulationDistribution"
kind: "interface"
namespace: "cAlgo.API.Indicators"
url: "https://help.ctrader.com/ctrader-algo/references/Indicators/AccumulationDistribution/"
---

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

# AccumulationDistribution (interface)

Accumulation Distribution indicator is an indicator that can identify if the market is driven by buyers (accumulation) or by sellers (distribution)

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public interface AccumulationDistribution
```

## Examples

C#:

```csharp
private AccumulationDistribution _accumulationDistribution;

protected override void OnStart()
{
    _accumulationDistribution = Indicators.AccumulationDistribution();
}

protected override void OnBar()
{
    Print("Accumulation Distribution: {0}", _accumulationDistribution.Result.Last(1));
}
```

Python:

```python
def on_start(self):
    self.accumulationDistribution = api.Indicators.AccumulationDistribution()

def on_bar(self):
    api.Print(f"Accumulation Distribution: {self.accumulationDistribution.Result.Last(1)}")
```

## Properties

- `IndicatorDataSeries Result {get;}` — Gets the resulting time series of the Accumulation Distribution indicator calculation. [details](https://help.ctrader.com/ctrader-algo/references/Indicators/AccumulationDistribution/Result/index.md)

## Inherited members

- `ChartIndicator AddToChart()` (from StandardIndicator) [details](https://help.ctrader.com/ctrader-algo/references/General/StandardIndicator/AddToChart/index.md)
- `Symbol Symbol {get;}` (from StandardIndicator) [details](https://help.ctrader.com/ctrader-algo/references/General/StandardIndicator/Symbol/index.md)
- `TimeFrame TimeFrame {get;}` (from StandardIndicator) [details](https://help.ctrader.com/ctrader-algo/references/General/StandardIndicator/TimeFrame/index.md)
- `Bars Bars {get;}` (from StandardIndicator) [details](https://help.ctrader.com/ctrader-algo/references/General/StandardIndicator/Bars/index.md)

