NinjaScript > Language Reference > Indicator Methods >

Accumulation/Distribution (ADL)

Print this Topic Previous pageReturn to chapter overviewNext page


There are many indicators available to measure volume and the flow of money for a particular stock, index or security. One of the most popular volume indicators over the years has been the Accumulation/Distribution Line. The basic premise behind volume indicators, including the Accumulation/Distribution Line, is that volume precedes price. Volume reflects the amount of shares traded in a particular stock, and is a direct reflection of the money flowing into and out of a stock. Many times before a stock advances, there will be period of increased volume just prior to the move. Most volume or money flow indicators are designed to identify early increases in positive or negative volume flow to gain an edge before the price moves. (Note: the terms "money flow" and "volume flow" are essentially interchangeable.)





ADL(IDataSeries input)

Returns default value
ADL()[int barsAgo]

ADL(IDataSeries input)[int barsAgo]



Return Value

double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.





Indicator source data (?)




// Checks if ADL is rising

bool isRising = Rising(ADL());
Print("Is ADL rising? " + isRising);



Source Code

You can view this indicator method source code by selecting the menu Tools > Edit NinjaScript > Indicator within the NinjaTrader Control Center window.