# Accumulation/distribution

`accdist`

Volume weighted by where the close sits in the bar.

## Inputs

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

## Outputs

| Name | Kind |
| --- | --- |
| accdist | value |

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

Repaints: No.

## Formula

The running total of ((close - low) - (high - close)) / (high - low) * volume

A bar with no range adds 0.
