fints object for the
Data argument of
adline is not recommended.
Use a matrix,
table instead for financial time series. For more information, see
Convert Financial Time Series Objects fints to Timetables.
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.