# Volumes

`volumes`

Volume per bar, tick or real as the feed carries it.

## Inputs

| Name | Type | Default | Range |
| --- | --- | --- | --- |
| volume | volume | tick |  |

## Outputs

| Name | Kind |
| --- | --- |
| volumes | value |
| direction | value |

Warm-up: 1 bars (1 at the defaults).

Repaints: No.

## Formula

The volume of the bar

direction = 1 when the volume is above the previous bar's, else -1

On forex the feed carries tick volume.
