Accumulation / Distribution Line (ADL)
Created by Marc Chaikin, the Accumulation/Distribution Line/Index is a rolling accumulation of Chaikin Money Flow Volume. [Discuss]
// usage IEnumerable<AdlResult> results = quotes.GetAdl(); // usage with optional overlay SMA of ADL (shown above) IEnumerable<AdlResult> results = quotes.GetAdl(smaPeriods);
int - Optional. Number of periods (
N) in the moving average of ADL. Must be greater than 0, if specified.
Historical quotes requirements
You must have at least two historical quotes to cover the warmup periods; however, since this is a trendline, more is recommended.
quotes is a collection of generic
TQuote historical price quotes. It should have a consistent frequency (day, hour, minute, etc). See the Guide for more information.
- This method returns a time series of all available indicator values for the
- It always returns the same number of elements as there are in the historical quotes.
- It does not return a single incremental indicator value.
DateTime - Date from evaluated
double - Money Flow Multiplier
double - Money Flow Volume
double - Accumulation Distribution Line (ADL)
double - Moving average (SMA) of ADL based on
smaPeriods periods, if specified
Warning: absolute values in ADL and MFV are somewhat meaningless. Use with caution.
See Utilities and helpers for more information.
Results can be further processed on
Adl with additional chain-enabled indicators.
// example var results = quotes .GetAdl() .GetRsi(..);
This indicator must be generated from
quotes and cannot be generated from results of another chain-enabled indicator or method.