AccumDist (Function)
The AccumDist series function calculates the accumulation distribution of a security by adding the day's volume (or ticks) to a cumulative total when the price closes up, and subtracting the day's volume from the cumulative total when the price closes down.
Syntax
AccumDist(AnyVol)
Returns (Double)
A positive or negative number for the current bar representing the accumulation of up vs down volume (ticks).
Parameters
Name | Type | Description |
AnyVol | Numeric | Specifies the volume (or ticks) for one of the symbols in the chart. |
Remarks
Traditionally, this calculation attempts to show if volume is flowing into or out of a security. When the security closes higher than the open, all of the day's volume is considered up volume. When the security closes lower than the open, all of the day's volume is considered down volume.
The use of Trade Volume or Tick Count depends on the For Volume, Use: setting for the specified symbol.
This is a cumulative calculation type function, meaning that the current bar’s value for this function is based on the values of all previous bars.
Example
Assigns the accumulation distribution value to Value1, using the Volume of Data1; then plots Value1:
Value1 = AccumDist(Volume);
Plot1(Value1, "AccDist");