Accumulation/distribution
Volume weighted by where the close sits in the bar.
Inputs
| Name | Type | Default |
|---|---|---|
| volume | volume | tick |
Outputs
| Name | Type | Required | Description |
|---|---|---|---|
| accdist | value | Optional | color theme.accent, style line, width 1 |
- Warm-up
- 0 bars (0 at the defaults)
- Repaints
- No
- Parity
- TA-Lib, within 1e-9
Formula
The running total of ((close - low) - (high - close)) / (high - low) * volume
A bar with no range adds 0.