> For the complete documentation index, see [llms.txt](https://indicators.agenatrader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://indicators.agenatrader.com/standard-indicators/buysellvolume.md).

# BuySellVolume

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

This indicator shows us the current buy or sell pressure based on the volume. For this, trades are classified as "buy" or "sell", whereby for the classification, a "buy" is assumed any time the transaction is executed at or above the ask. A transaction at or below the bid is considered a "sell".

**Caution: This is a real-time indicator and will not work with historical data.**

Similar conditions as with the [*BuySellPressure*](/standard-indicators/buysellpressure.md) apply.

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

```csharp
BuySellVolume BuySellVolume()
BuySellVolume BuySellVolume(IDataSeries inSeries)
```

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

**double**

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

#### Parameter <a href="#parameter_1" id="parameter_1"></a>

inSeries Input data series for the indicator

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

![BuySellVolume](https://agenatrader.github.io/AgenaIndicator-documentation/media/image15.png)

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

```csharp
//Output for the BuySellVolume
Print("The BuySellVolume is: " + BuySellVolume()[0]);
```
