Table of Contents

Class AccumulationDistribution

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

This indicator computes the Accumulation/Distribution (AD) The Accumulation/Distribution is calculated using the following formula: AD = AD + ((Close - Low) - (High - Close)) / (High - Low) * Volume

public class AccumulationDistribution : TradeBarIndicator, IIndicator, IUpdatable
Inheritance
AccumulationDistribution
Implements
Inherited Members
Extension Methods

Constructors

AccumulationDistribution()

Initializes a new instance of the AccumulationDistribution class using the specified name.

public AccumulationDistribution()

AccumulationDistribution(string)

Initializes a new instance of the AccumulationDistribution class using the specified name.

public AccumulationDistribution(string name)

Parameters

name string

The name of this indicator

Properties

IsReady

Gets a flag indicating when this indicator is ready and fully initialized

public override bool IsReady { get; }

Property Value

bool

WarmUpPeriod

Required period, in data points, for the indicator to be ready and fully initialized.

public int WarmUpPeriod { get; }

Property Value

int

Methods

Forward(long, DoubleArray)

Computes the next value of this indicator from the given state

protected override DoubleArray Forward(long time, DoubleArray input)

Parameters

time long
input DoubleArray

The input given to the indicator

Returns

DoubleArray

A new value for this indicator