Volumes
Volume per bar, tick or real as the feed carries it.
Inputs
| Name | Type | Default |
|---|---|---|
| volume | volume | tick |
Outputs
| Name | Type | Required | Description |
|---|---|---|---|
| volumes | value | Optional | color theme.series_c, style columns |
| direction | value | Optional | color theme.neutral, style line, width 1 |
- Warm-up
- 1 bars (1 at the defaults)
- Repaints
- No
- Parity
- MetaTrader 5
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.