# 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]);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://indicators.agenatrader.com/standard-indicators/volume-rate-of-change-vroc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
