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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/buysellvolume.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.
