Calculate the Accumulation/Distribution Line for a Data Series for a Stock
Load the file
SimulatedStock.mat, which provides a timetable (
TMW) for financial data for TMW stock.
load SimulatedStock.mat line = adline(TMW); plot(line.Time,line.ADLine) title('Accumulation/Distribution Line for TMW')
Data — Data with high, low, closing prices, and volume traded
matrix | table | timetable
Data with high, low, closing prices and volume traded, specified as a
matrix, table, or timetable. For matrix input,
4 with high, low, closing
prices, and volume traded. Timetables and tables with
rows must contain a variable named
'Volume' (case insensitive).
 Achelis, S. B. Technical Analysis from A to Z. Second Edition. McGraw-Hill, 1995, pp. 52–53.
Version HistoryIntroduced before R2006a
fints support removed for
Data input argument
fints object support for the
argument is removed.
R2022b: Support for negative price data
Data input accepts negative prices.