# Volume Rate of Change (VROC)

#### Description <a href="#description_133" id="description_133"></a>

The Volume Rate of Change (VROC) is almost exactly the same as the ROC indicator, with the exception that instead of price data, volume data (VOL) is used. A smoothing component is also applied.

#### Further information <a href="#further-information_47" id="further-information_47"></a>

<http://www.shareholder24.de/boersensoftware-wiki/pages/viewpage.action?pageId=9207904>

#### Usage <a href="#usage_119" id="usage_119"></a>

```csharp
VROC(int period, int smooth)
VROC(IDataSeries inSeries, int period, int smooth)
VROC(int period, int smooth)[int barsAgo]
VROC(IDataSeries inSeries, int period, int smooth)[int barsAgo]
```

#### Return value <a href="#return-value_117" id="return-value_117"></a>

**double**

When using this method with an index (e.g. **VROC**(14,3)\[**int** barsAgo] ), the value of the indicator will be issued for the referenced bar.

#### Parameters <a href="#parameters_108" id="parameters_108"></a>

inSeries Input data series for the indicator

period Number of bars included in the calculations

smooth Number of Bars included in the calculation for the smoothing

#### Visualization <a href="#visualization_122" id="visualization_122"></a>

![Volume Rate of Change (VROC)](https://agenatrader.github.io/AgenaIndicator-documentation/media/VROC.jpg)

#### Example <a href="#example_113" id="example_113"></a>

```csharp
//Output of the current value for the Volume ROC
Print("The current value for the Volume ROC is: " + VROC(14, 3)[0]);
```
