---
id: "M:cAlgo.API.Internals.IIndicatorsAccessor.VolumeROC(System.Int32)"
kind: "method"
type: "T:cAlgo.API.Internals.IIndicatorsAccessor"
url: "https://help.ctrader.com/ctrader-algo/references/Indicators/IIndicatorsAccessor/VolumeROC/"
---

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

# IIndicatorsAccessor.VolumeROC

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

## VolumeROC(int periods)

Volume Rate of Change Indicator measures the rate of change of the tick volume.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
VolumeROC VolumeROC(int periods)
```

Python:

```python
api.Indicators.VolumeROC(periods: int) -> VolumeROC
```

### Parameters

- `periods` (`int`, Python `int`): The period used for the calculation

### Returns

`VolumeROC` — The Volume ROC indicator instance.

### Examples

C#:

```csharp
var volumeRoc = Indicators.VolumeROC(14);
Print("Volume ROC(14): {0}%", volumeRoc.Result.LastValue);
```

Python:

```python
volumeRoc = api.Indicators.VolumeROC(14)
api.Print(f"Volume ROC(14): {volumeRoc.Result.LastValue}%")
```

## VolumeROC(Bars bars, int periods)

Volume Rate of Change Indicator measures the rate of change of the tick volume.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
VolumeROC VolumeROC(Bars bars, int periods)
```

Python:

```python
api.Indicators.VolumeROC(bars: Bars, periods: int) -> VolumeROC
```

### Parameters

- `bars` (`Bars`, Python `Bars`): The Bars that will be used by indicator, you can pass another timeframe/symbol bars
- `periods` (`int`, Python `int`): The period used for the calculation

### Returns

`VolumeROC` — The Volume ROC indicator instance.

### Examples

C#:

```csharp
var dailyBars = MarketData.GetBars(TimeFrame.Daily);
var dailyVolumeRoc = Indicators.VolumeROC(dailyBars, 14);
Print("Daily Volume ROC(14): {0}%", dailyVolumeRoc.Result.LastValue);
```

Python:

```python
dailyBars = api.MarketData.GetBars(TimeFrame.Daily)
dailyVolumeRoc = api.Indicators.VolumeROC(dailyBars, 14)
api.Print(f"Daily Volume ROC(14): {dailyVolumeRoc.Result.LastValue}%")
```

