dotnetCHARTING Send comments on this topic.
AcumulateDistributeOverPeriod(String,Series,Int32) Method
See Also 
dotnetCHARTING Namespace > FinancialEngine Class > AcumulateDistributeOverPeriod Method : AcumulateDistributeOverPeriod(String,Series,Int32) Method


seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
A series where the first term is the most recent period, the second term is the previous period and so on.
lengthOfPeriod
An integer which represents the number of periods within each of the (sub)collection of periods over which the indicator is evaluated.
Evaluates the accumulation/distribution indicator for each of the (sub)collection of periods of a given length.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function AcumulateDistributeOverPeriod( _
   ByVal seriesName As String, _
   ByVal s As Series, _
   ByVal lengthOfPeriod As Integer _
) As Series
Visual Basic (Usage)Copy Code
Dim seriesName As String
Dim s As Series
Dim lengthOfPeriod As Integer
Dim value As Series
 
value = FinancialEngine.AcumulateDistributeOverPeriod(seriesName, s, lengthOfPeriod)
C# 
public static Series AcumulateDistributeOverPeriod( 
   string seriesName,
   Series s,
   int lengthOfPeriod
)

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
A series where the first term is the most recent period, the second term is the previous period and so on.
lengthOfPeriod
An integer which represents the number of periods within each of the (sub)collection of periods over which the indicator is evaluated.

Remarks

The accumulation/distribution indicator illustrates the degree to which an asset is being accumulated or distributed by the market over each of these collection of periods. The indicator uses the closing price's proximity to the high or low over the period to determine if accumulation or reduction is taking place in the market. The proximity measure if then multiplied by the volume over the period in order to give more weight to moves with correspondingly higher volume.

Interpretation

A divergence between the price action and the AccumulationDistribution indicator can signal that a trend is nearing completion, a trends continuation and break-outs from trading ranges. The actual value of this indicator is of no significance, what is significant is its change in value relative to the previous periods which can warn of a possible break-out during a trading range (falling/rising indicator), the continuation of a trend (higher highs in uptrend, or lower lows in downtrend) or a change/completion of a trend (divergence between the price action and the direction of the indicator).

Example

Say for example we know that:

  1. Highs = {3, 4, 3, 4, 5} (i.e. 3 is the latest high)
  2. Lows = {2, 1, 2, 1, 3} (i.e. 2 is the latest low)
  3. Volume = {300, 290, 295, 285, 290} (i.e. 300 is the volume in the latest period.

Now if the lengthOfPeriod considered is 4, then this method will return an array of length two where the first term is the accumulation\distribution indicator (evaluated using AccumulationDistribution(string, Series)) when:

  1. Highs = {3, 4, 3, 4} (i.e. above highs with last element removed)
  2. Lows = {2, 1, 2, 1} (i.e. above highs with last element removed)
  3. Volume = {300, 290, 295, 285} (i.e. above highs with last element removed)
and the second term is the accumulation/distribution indicator when:
  1. Highs = {4, 3, 4, 5} (i.e. the window moves one position back)
  2. Lows = {1, 2, 1, 3} (i.e. the window moves one position back)
  3. Volume = {290, 295, 285, 290} (i.e. the window moves one position back)

See Also

© 2016 All Rights Reserved.